Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere .NET 2.0 API 参考 » iAnywhere.Data.SQLAnywhere 命名空间 (.NET 2.0) » SAParameterCollection 类 » Add 方法

 

Add(String, SADbType) 方法

将使用指定参数名和数据类型创建的 SAParameter 对象添加到此集合中。

语法
Visual Basic

Public Function Add( _
   ByVal parameterName As String, _
   ByVal saDbType As SADbType _
) As SAParameter
C#

public SAParameter Add(
   string  parameterName,
   SADbType saDbType
);
参数
  • parameterName   参数的名称。

  • saDbType   SADbType 值之一。

返回值

新的 SAParameter 对象。

另请参见