Adds a ULParameter to the collection.
Public Overrides Function Add(ByVal value As Object) As Integer
public override int Add(object value)
value The ULParameter object to add to the collection.
The index of the new ULParameter object.
ArgumentNullException The value cannot be null (Nothing in Visual Basic).
InvalidCastException The value specified must be a ULParameter.
ArgumentException The ULParameter object can only be added to the collection once.
All parameters in the collection are treated as positional parameters and must be added to the collection in the same order as the corresponding question mark placeholders in the ULCommand.CommandText. For example, the first parameter in the collection corresponds to the first question mark in the SQL statement, the second parameter in the collection corresponds to the second question mark in the SQL statement, and so on. There must be at least as many question marks in the ULCommand.CommandText as there are parameters in the collection. Nulls are substituted for missing parameters.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |