MobiLink Synchronization User's Guide
Writing Synchronization Scripts in .NET
MobiLink .NET API Reference
public class DBParameterCollection
inherits from IDataParameterCollection, IList, ICollection, IEnumerable
Member of iAnywhere.MobiLink.Script
Collection of DBParameters. When DBCommand creates a DBParamterCollection it is empty and must be filled with appropriate parameters before the DBCommand executes.
public DBParameterCollection( )
Creates an empty list of DBParameters.
public bool Contains( string parameterName )
Returns true if the collection contains a parameter with the specified name. Takes one parameter, parameterName, which is the name of the parameter.
public int IndexOf( string parameterName )
Returns index of the parameter, or -1 if there is no parameter with the given name. Takes one parameter, parameterName, which is the name of the parameter.
public void RemoveAt( string parameterName )
Removes the parameter with the given name from the collection. Takes one parameter, parameterName, which is the name of the parameter.
public int Add( object value ) method
Adds the given parameter to the collection. Takes one parameter, value, which is the iAnywhere.MobiLink.Script.DBParameter to add to the collection. Returns the index of the added parameter in the collection.
public void Clear( )
Removes all parameters from the collection.
public bool Contains( object value ) method
Returns true if this collection contains the given iAnywhere.MobiLink.Script.DBParameter. Takes one parameter, value, which is the iAnywhere.MobiLink.Script.DBParameter.
public int IndexOf( object value )
Returns the index of the given iAnywhere.MobiLink.Script.DBParameter in the collection. Takes one parameter, value, which is the iAnywhere.MobiLink.Script.DBParameter.
public void Insert( int index, object value )
Inserts the given iAnywhere.MobiLink.Script.DBParameter into the collection at the specified index. Takes two parameters: value, which is the iAnywhere.MobiLink.Script.DBParameter; and index, which is the index to insert at.
public void Remove( object value )
Removes the given iAnywhere.MobiLink.Script.DBParameter from the collection. Takes one parameter, value, which is the iAnywhere.MobiLink.Script.DBParameter.
public int RemoveAt( int index )
Removes the iAnywhere.MobiLink.Script.DBParameter at the given index in the collection. Takes one parameter, index, which is the index of the iAnywhere.MobiLink.Script.DBParameter.
public void CopyTo( Array array, int index)
Copies the contents of the collection into the given array starting at the specified index. Takes two parameters: array, which is the array to copy the contents of the collection into; and index, which is the index in the array to begin copying the contents of the collection into.
public IEnumerator GetEnumerator( )
Returns an enumerator for the collection.
public bool IsFixedSize
Returns false.
public bool IsReadOnly
Returns false.
public int Count
The number of parameters in the collection.
public bool IsSynchronized
Returns false.
public object SyncRoot
Object that can be used to synchronize the collection.
public object this[ string parameterName ]
Gets or sets the iAnywhere.MobiLink.Script.DBParameter with the given name in the collection. Takes one parameter, parameterName, which is the name of the iAnywhere.MobiLink.Script.DBParameter to get or set.
public object this[ int index ]
Gets or sets the iAnywhere.MobiLink.Script.DBParameter at the given index in the collection. Takes one parameter, index, which is the index of the iAnywhere.MobiLink.Script.DBParameter to get or set.