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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference » ULCommand class

Cancel method Next Page

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.

See also