ULParameter() constructor

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

Syntax
Visual Basic
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