Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
用空值(在 Visual Basic 中为 Nothing)作为 ULParameter 对象的值对该对象初始化。
Public Sub New()
public ULParameter()
以下代码将创建一个值为 3 的 ULParameter 对象,并将其添加至名为 cmd 的 ULCommand 中。
' Visual Basic Dim p As ULParameter = New ULParameter p.Value = 3 cmd.Parameters.Add( p )
以下代码为 C# 语言等效代码:
// C# ULParameter p = new ULParameter(); p.Value = 3; cmd.Parameters.Add( p );