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

ULParameter members Next Page

ULParameter constructor


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

Syntax

Visual Basic

Overloads Public Sub New()

C#

public ULParameter();

Example

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