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, Int32) 方法

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

语法
Visual Basic

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

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

  • saDbType   SADbType 值之一。

  • size   参数的长度。

返回值

新的 SAParameter 对象。

另请参见