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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SAParameterCollection class » Add methods

Add(SAParameter) method Next Page

Add(String, Object) method

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


Visual Basic

Public Function Add( _
ByVal parameterName As String, _
ByVal value As Object _
) As SAParameter


public SAParameter Add(
string parameterName,
object value

Return value

The new SAParameter object.


Because of the special treatment of the 0 and 0.0 constants and the way overloaded methods are resolved, it is highly recommended that you explicitly cast constant values to type object when using this method.

See also