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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SAParameterCollection class » Add methods

 

Add(String, SADbType, Int32) method

Adds an SAParameter object to this collection, created using the specified parameter name, data type, and length, to the collection.

Syntax
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
);
Parameters
  • parameterName   The name of the parameter.

  • saDbType   One of the SADbType values.

  • size   The length of the parameter.

Return value

The new SAParameter object.

See also