







![]() ![]() ![]() |
MySQL Connector/Net |
MySqlParameterCollection Methods |
MySqlParameterCollection Class See Also Send Feedback |
![]() |
The MySqlParameterCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Add(Object) |
Adds the specified MySqlParameter object to the MySqlParameterCollection.
(Overrides DbParameterCollection..::..Add(Object).) |
![]() |
Add(MySqlParameter) |
Adds the specified MySqlParameter object to the MySqlParameterCollection.
|
![]() |
Add(String, MySqlDbType) |
Adds a MySqlParameter to the MySqlParameterCollection given the parameter name and the data type.
|
![]() |
Add(String, Object) | Obsolete.
Adds a MySqlParameter to the MySqlParameterCollection given the specified parameter name and value.
|
![]() |
Add(String, MySqlDbType, Int32) |
Adds a MySqlParameter to the MySqlParameterCollection with the parameter name, the data type, and the column length.
|
![]() |
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.
|
![]() |
AddRange |
Adds an array of values to the end of the MySqlParameterCollection.
(Overrides DbParameterCollection..::..AddRange(Array).) |
![]() |
AddWithValue | |
![]() |
Clear |
Removes all items from the collection.
(Overrides DbParameterCollection..::..Clear()()()().) |
![]() |
Contains(Object) |
Gets a value indicating whether a MySqlParameter exists in the collection.
(Overrides DbParameterCollection..::..Contains(Object).) |
![]() |
Contains(String) |
Gets a value indicating whether a MySqlParameter with the specified parameter name exists in the collection.
(Overrides DbParameterCollection..::..Contains(String).) |
![]() |
CopyTo |
Copies MySqlParameter objects from the MySqlParameterCollection to the specified array.
(Overrides DbParameterCollection..::..CopyTo(Array, Int32).) |
![]() |
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.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetEnumerator |
Returns an enumerator that iterates through the MySqlParameterCollection.
(Overrides DbParameterCollection..::..GetEnumerator()()()().) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
GetParameter(Int32) | (Overrides DbParameterCollection..::..GetParameter(Int32).) |
![]() |
GetParameter(String) |
Retrieve the parameter with the given name.
(Overrides DbParameterCollection..::..GetParameter(String).) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IndexOf(Object) |
Gets the location of a MySqlParameter in the collection.
(Overrides DbParameterCollection..::..IndexOf(Object).) |
![]() |
IndexOf(String) |
Gets the location of the MySqlParameter in the collection with a specific parameter name.
(Overrides DbParameterCollection..::..IndexOf(String).) |
![]() |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
Insert |
Inserts a MySqlParameter into the collection at the specified index.
(Overrides DbParameterCollection..::..Insert(Int32, Object).) |
![]() |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() |
Remove |
Removes the specified MySqlParameter from the collection.
(Overrides DbParameterCollection..::..Remove(Object).) |
![]() |
RemoveAt(Int32) |
Removes the specified MySqlParameter from the collection using a specific index.
(Overrides DbParameterCollection..::..RemoveAt(Int32).) |
![]() |
RemoveAt(String) |
Removes the specified MySqlParameter from the collection using the parameter name.
(Overrides DbParameterCollection..::..RemoveAt(String).) |
![]() |
SetParameter(Int32, DbParameter) | (Overrides DbParameterCollection..::..SetParameter(Int32, DbParameter).) |
![]() |
SetParameter(String, DbParameter) | (Overrides DbParameterCollection..::..SetParameter(String, DbParameter).) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |