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

SQL Anywhere 11.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULCommand class

 

CreateParameter method

Provides a ULParameter object for supplying parameters to ULCommand objects.

Syntax
Visual Basic
Public Function CreateParameter() As ULParameter
C#
public ULParameter CreateParameter();
Return value

A new parameter, as a ULParameter object.

Remarks

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