Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将使用指定参数名和值创建的 SAParameter 对象添加到此集合中。
Public Function Add( ByVal parameterName As String, ByVal value As Object ) As SAParameter
public SAParameter Add(string parameterName, object value)
parameterName 参数的名称。
value 要添加到连接中的参数的值。
新的 SAParameter 对象。
鉴于系统对 0 和 0.0 常量的特殊处理方法以及对重载方法的解析方式,我们强烈建议您在使用此方法时显式地将常量值转换为类型对象。