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 » ULParameter class » ULParameter constructors


ULParameter(String, ULDbType, Int32) constructor

Initializes a ULParameter object with the specified parameter name and data type. This constructor is not recommended; it is provided for compatibility with other data providers.

Visual Basic
Public Sub New( _
   ByVal parameterName As String, _
   ByVal dbType As ULDbType, _
   ByVal size As Integer _
public  ULParameter(
   string  parameterName,
   ULDbType dbType,
   int size
  • parameterName   The name of the parameter. For unnamed parameters, use an empty string ("") or a null reference (Nothing in Visual Basic) for this value. In UltraLite.NET, parameter names are not used by ULCommand.

  • dbType   One of the iAnywhere.Data.UltraLite.ULDbType values.

  • size   The length of the parameter.


In UltraLite.NET parameters can only be used as IN parameters and all mapping information is ignored. Only the ULParameter.Value is important.

See also