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() constructor

Initializes a ULParameter object with null (Nothing in Visual Basic) as its value.

Visual Basic
Public Sub New()
public  ULParameter();

The following code creates a ULParameter with the value 3 and adds it to a ULCommand called cmd.

' Visual Basic
Dim p As ULParameter = New ULParameter
p.Value = 3
cmd.Parameters.Add( p )

// C#
ULParameter p = new ULParameter();
p.Value = 3;
cmd.Parameters.Add( p );
See also