The QueryParameterCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
QueryParameterCollection |
Initializes a new instance of the QueryParameterCollection class.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds a QueryParameter object to the current collection.
|
|
AssignFrom |
Clears the current collection, and copies the items from another one.
The items are copied by cloning, and must support the ICloneable
interface (if an item that does not support is encountered, an exception occurs).
(Inherited from OwnedCollection.) |
|
Clear |
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.) |
|
Exchange |
Swap two items in collection.
(Inherited from OwnedCollection.) |
|
FindByName |
Returns NamedCollectionItem with specified name.
(Inherited from NamedCollection.) |
|
GetEnumerator |
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.) |
|
IndexOf |
Searches for the specified Object and returns the zero-based index
of the first occurrence within the entire collection.
(Inherited from OwnedCollection.) |
|
IndexOfName |
Returns the 0-based index of a NamedCollectionItem
with specified name in the current NamedCollection.
(Inherited from NamedCollection.) |
|
RemoveAt |
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.) |
Properties
Name | Description | |
---|---|---|
Capacity |
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.) |
|
Count |
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.) |
|
Item[([( Int32])]) |
Gets the element at the specified index.
|
|
Item[([( String])]) |
Gets the parameter with the specified name.
|
|
Owner |
Gets the Query object containing the current collection.
|