Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OleDbParameterCollection Methods

OleDbParameterCollection Methods

The OleDbParameterCollection type exposes the following members.

  Name Description
Public method Add(Object) Adds the specified OleDbParameter object to the OleDbParameterCollection. (Overrides DbParameterCollection.Add(Object).)
Public method Add(OleDbParameter) Adds the specified OleDbParameter to the OleDbParameterCollection.
Public method Add(String, OleDbType) Adds an OleDbParameter to the OleDbParameterCollection, given the parameter name and data type.
Public method Add(String, Object) Obsolete. Adds an OleDbParameter to the OleDbParameterCollection given the parameter name and value.
Public method Add(String, OleDbType, Int32) Adds an OleDbParameter to the OleDbParameterCollection given the parameter name, data type, and column length.
Public method Add(String, OleDbType, Int32, String) Adds an OleDbParameter to the OleDbParameterCollection given the parameter name, data type, column length, and source column name.
Public method AddRange(Array) Adds an array of values to the end of the OleDbParameterCollection. (Overrides DbParameterCollection.AddRange(Array).)
Public method AddRange(OleDbParameter[]) Adds an array of OleDbParameter values to the end of the OleDbParameterCollection.
Public method AddWithValue Adds a value to the end of the OleDbParameterCollection.
Public method Clear Removes all OleDbParameter objects from the OleDbParameterCollection. (Overrides DbParameterCollection.Clear().)
Public method Contains(Object) Determines whether the specified Object is in this OleDbParameterCollection. (Overrides DbParameterCollection.Contains(Object).)
Public method Contains(OleDbParameter) Determines whether the specified OleDbParameter is in this OleDbParameterCollection.
Public method Contains(String) Determines whether the specified String is in this OleDbParameterCollection. (Overrides DbParameterCollection.Contains(String).)
Public method CopyTo(Array, Int32) Copies all the elements of the current OleDbParameterCollection to the specified one-dimensional Array starting at the specified destination Array index. (Overrides DbParameterCollection.CopyTo(Array, Int32).)
Public method CopyTo(OleDbParameter[], Int32) Copies all the elements of the current OleDbParameterCollection to the specified OleDbParameterCollection starting at the specified destination index.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the OleDbParameterCollection. (Overrides DbParameterCollection.GetEnumerator().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf(Object) The location of the specified Object within the collection. (Overrides DbParameterCollection.IndexOf(Object).)
Public method IndexOf(OleDbParameter) Gets the location of the specified OleDbParameter within the collection.
Public method IndexOf(String) Gets the location of the specified OleDbParameter with the specified name. (Overrides DbParameterCollection.IndexOf(String).)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Insert(Int32, OleDbParameter) Inserts a OleDbParameter object into the OleDbParameterCollection at the specified index.
Public method Insert(Int32, Object) Inserts a Object into the OleDbParameterCollection at the specified index. (Overrides DbParameterCollection.Insert(Int32, Object).)
Public method Remove(Object) Removes the Object object from the OleDbParameterCollection. (Overrides DbParameterCollection.Remove(Object).)
Public method Remove(OleDbParameter) Removes the OleDbParameter from the OleDbParameterCollection.
Public method RemoveAt(Int32) Removes the OleDbParameter from the OleDbParameterCollection at the specified index. (Overrides DbParameterCollection.RemoveAt(Int32).)
Public method RemoveAt(String) Removes the OleDbParameter from the OleDbParameterCollection at the specified parameter name. (Overrides DbParameterCollection.RemoveAt(String).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2015 Microsoft