Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULCommand class


CreateParameter method

Provides a ULParameter object for supplying parameters to ULCommand objects.

Visual Basic

Public Function CreateParameter() As ULParameter

public ULParameter CreateParameter();
Return value

A new parameter, as a ULParameter object.


Some SQL statements can take parameters, indicated in the text of a statement by a question mark (?). The CreateParameter method provides a ULParameter object. You can set properties on the ULParameter to specify the value for the parameter.

This is the strongly-typed version of System.Data.IDbCommand.CreateParameter and System.Data.Common.DbCommand.CreateParameter.

See also