The following tables list the members exposed by DataParameterCollection.
Name | Description | |
---|---|---|
DataParameterCollection Constructor | Overloaded. |
Name | Description | |
---|---|---|
Count | Retrieves the number of parameters actually contained in the DataParameterCollection. | |
IsFixedSize | Retrieves a value indicating whether or not this collection has a fixed size. | |
IsReadOnly | Retrieves a value indicating whether this collection is read-only. | |
IsSynchronized | Retrieves a value indicating whether access to the DataParameterCollection is synchronized (thread-safe). | |
Item | Overloaded. Gets or sets the IDbDataParameter associated with the specific name in the collection. | |
Parameters | Retrieves a collection of the IDbDataParameter objects in this collection. | |
SyncRoot | Gets an object that can be used to synchronize access to this instance of the DataParameterCollection. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds a parameter to this collection for use as a bind variable in the SQL statement. | |
Clear | Removes all parameters from this collection. | |
Clone | Creates a new collection using the same parameters. | |
Contains | Determines whether or not this collection contains the specified parameter. | |
CopyTo | Overloaded. Copies the parameters in this collection to the specified collection. | |
DeepClone | Performs a deep clone of the entire collection and clones (not just a reference copy) each individual parameter | |
GetEnumerator | Returns an enumerator for the entire collection | |
IndexOf | Returns the index at which this object exists in the collection. | |
Insert | Inserts the parameter at the specified index in the collection. | |
Remove | Overloaded. Removes a parameter with the specified name from the collection. | |
RemoveAt | Removes the parameter at the specified index from the collection. |