MySqlParameterCollection Members

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image

The MySqlParameterCollection type exposes the following members.

Methods

  Name Description
Public method Add(Object)
Adds the specified MySqlParameter object to the MySqlParameterCollection.
(Overrides DbParameterCollection..::..Add(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 DbParameterCollection..::..AddRange(Array).)
Public method AddWithValue
Public method Clear
Removes all items from the collection.
(Overrides DbParameterCollection..::..Clear()()()().)
Public method Contains(Object)
Gets a value indicating whether a MySqlParameter exists in the collection.
(Overrides DbParameterCollection..::..Contains(Object).)
Public method Contains(String)
Gets a value indicating whether a MySqlParameter with the specified parameter name exists in the collection.
(Overrides DbParameterCollection..::..Contains(String).)
Public method CopyTo
Copies MySqlParameter objects from the MySqlParameterCollection to the specified array.
(Overrides DbParameterCollection..::..CopyTo(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 DbParameterCollection..::..GetEnumerator()()()().)
Public method GetHashCode
Serves as a hash function for a particular type.
(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 DbParameterCollection..::..GetParameter(Int32).)
Protected method GetParameter(String)
Retrieve the parameter with the given name.
(Overrides DbParameterCollection..::..GetParameter(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 DbParameterCollection..::..IndexOf(Object).)
Public method IndexOf(String)
Gets the location of the MySqlParameter in the collection with a specific parameter 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
Inserts a MySqlParameter into the collection at the specified index.
(Overrides DbParameterCollection..::..Insert(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 DbParameterCollection..::..Remove(Object).)
Public method RemoveAt(Int32)
Removes the specified MySqlParameter from the collection using a specific index.
(Overrides DbParameterCollection..::..RemoveAt(Int32).)
Public method RemoveAt(String)
Removes the specified MySqlParameter from the collection using the parameter name.
(Overrides DbParameterCollection..::..RemoveAt(String).)
Protected method SetParameter(Int32, DbParameter) (Overrides DbParameterCollection..::..SetParameter(Int32, DbParameter).)
Protected method SetParameter(String, DbParameter) (Overrides DbParameterCollection..::..SetParameter(String, DbParameter).)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property Count
Gets the number of MySqlParameter objects in the collection.
(Overrides DbParameterCollection..::..Count.)
Public property IsFixedSize
Gets a value that indicates whether the MySqlParameterCollection has a fixed size.
(Overrides DbParameterCollection..::..IsFixedSize.)
Public property IsReadOnly
Gets a value that indicates whether the MySqlParameterCollection is read-only.
(Overrides DbParameterCollection..::..IsReadOnly.)
Public property IsSynchronized
Gets a value that indicates whether the MySqlParameterCollection is synchronized.
(Overrides DbParameterCollection..::..IsSynchronized.)
Public property Item[([( Int32])])
Gets the MySqlParameter at the specified index.
Public property Item[([( String])])
Gets the MySqlParameter with the specified name.
Public property SyncRoot
Gets an object that can be used to synchronize access to the MySqlParameterCollection.
(Overrides DbParameterCollection..::..SyncRoot.)

See Also