MySqlParameterCollection Methods

MySQL Connector/Net

MySqlParameterCollection Methods

The MySqlParameterCollection type exposes the following members.

Methods
  Name Description
Public method Add(Object)
Adds the specified MySqlParameter object to the MySqlParameterCollection.
(Overrides DbParameterCollectionAdd(Object).)
Public method Add(MySqlParameter)
Adds the specified MySqlParameter object to the MySqlParameterCollection.
Public method Add(String, MySqlDbType)
Adds a MySqlParameter to the MySqlParameterCollection given the parameter name and the data type.
Public method Add(String, Object) Obsolete.
Adds a MySqlParameter to the MySqlParameterCollection given the specified parameter name and value.
Public method Add(String, MySqlDbType, Int32)
Adds a MySqlParameter to the MySqlParameterCollection with the parameter name, the data type, and the column length.
Public method Add(String, MySqlDbType, Int32, String)
Adds a MySqlParameter to the MySqlParameterCollection with the parameter name, the data type, the column length, and the source column name.
Public method AddRange
Adds an array of values to the end of the MySqlParameterCollection.
(Overrides DbParameterCollectionAddRange(Array).)
Public method AddWithValue
Public method Clear
Removes all items from the collection.
(Overrides DbParameterCollectionClear.)
Public method Contains(Object)
Gets a value indicating whether a MySqlParameter exists in the collection.
(Overrides DbParameterCollectionContains(Object).)
Public method Contains(String)
Gets a value indicating whether a MySqlParameter with the specified parameter name exists in the collection.
(Overrides DbParameterCollectionContains(String).)
Public method CopyTo
Copies MySqlParameter objects from the MySqlParameterCollection to the specified array.
(Overrides DbParameterCollectionCopyTo(Array, Int32).)
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Returns an enumerator that iterates through the MySqlParameterCollection.
(Overrides DbParameterCollectionGetEnumerator.)
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.)
Protected method GetParameter(Int32) (Overrides DbParameterCollectionGetParameter(Int32).)
Protected method GetParameter(String)
Retrieve the parameter with the given name.
(Overrides DbParameterCollectionGetParameter(String).)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf(Object)
Gets the location of a MySqlParameter in the collection.
(Overrides DbParameterCollectionIndexOf(Object).)
Public method IndexOf(String)
Gets the location of the MySqlParameter in the collection with a specific parameter name.
(Overrides DbParameterCollectionIndexOf(String).)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method Insert
Inserts a MySqlParameter into the collection at the specified index.
(Overrides DbParameterCollectionInsert(Int32, Object).)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method Remove
Removes the specified MySqlParameter from the collection.
(Overrides DbParameterCollectionRemove(Object).)
Public method RemoveAt(Int32)
Removes the specified MySqlParameter from the collection using a specific index.
(Overrides DbParameterCollectionRemoveAt(Int32).)
Public method RemoveAt(String)
Removes the specified MySqlParameter from the collection using the parameter name.
(Overrides DbParameterCollectionRemoveAt(String).)
Protected method SetParameter(Int32, DbParameter) (Overrides DbParameterCollectionSetParameter(Int32, DbParameter).)
Protected method SetParameter(String, DbParameter) (Overrides DbParameterCollectionSetParameter(String, DbParameter).)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also