The following tables list the members exposed by the DB2ParameterCollection class.
| Method | Description |
|---|---|
Count |
Gets the number of DB2Parameter objects in the collection. |
IsFixedSize |
Gets a value that indicates whether the DB2ParameterCollection has a fixed size. |
IsReadOnly |
Gets a value that indicates whether the DB2ParameterCollection is read-only. |
IsSynchronized |
Gets a value that indicates whether the DB2ParameterCollection is synchronized. |
this |
Overloaded. Gets or sets the DB2Parameter with a specified attribute. In C#, this property is the indexer for the DB2ParameterCollection class. |
SyncRoot |
Gets an object that can be used to synchronize access to the DB2ParameterCollection. |
| Method | Description |
|---|---|
Add |
Overloaded. Adds the specified DB2Parameter to the collection. |
AddRange |
Overridden. Appends an array of values to the DB2ParameterCollection. |
Clear |
Removes all items from the collection. |
Contains |
Overloaded. Gets a value indicating whether a DB2Parameter object exists in the collection. |
CopyTo |
Copies DB2Parameter objects from the DB2ParameterCollection to the specified array. |
CreateObjRef (inherited from MarshalByRefObject) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
GetEnumerator |
Returns an enumerator that iterates through the DB2ParameterCollection. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) |
Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
IndexOf |
Overloaded. Gets the location in the collection of the DB2Parameter . |
InitializeLifetimeService (inherited
from MarshalByRefObject) |
Obtains a lifetime service object to control the lifetime policy for this instance. |
Insert |
Inserts a DB2Parameter into the collection at the specified index. |
Remove |
Removes the specified DB2Parameter from the collection. |
RemoveAt |
Overloaded. Removes the specified DB2Parameter from the collection. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
| Method | Description |
|---|---|
Finalize (inherited from Object) |
Overridden. Allows an Object to
attempt to free resources and perform other cleanup operations before
the Object is reclaimed by garbage collection. In C# and Microsoft(R) Visual C++(R), finalizers are expressed using destructor syntax. |
GetParameter |
Overloaded. Returns the DbParameter object with the specified name in the DB2ParameterCollection. |
MemberwiseClone (inherited
from Object) |
Creates a shallow copy of the current Object. |
SetParameter |
Overloaded. Sets the specified DbParameter to the specified value. |