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