ParameterCollection Class
Represents a collection of IParameter objects
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.OrderedCollectionBase<IParameter>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.OrderedCollection<IParameter>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ParameterCollection
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Class ParameterCollection _
Inherits OrderedCollection(Of IParameter)
'Usage
Dim instance As ParameterCollection
public class ParameterCollection : OrderedCollection<IParameter>
public ref class ParameterCollection : public OrderedCollection<IParameter^>
type ParameterCollection =
class
inherit OrderedCollection<IParameter>
end
public class ParameterCollection extends OrderedCollection<IParameter>
The ParameterCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ParameterCollection(CollationInfo) | Initializes a new instance of the ParameterCollection class that uses the specified CollationInfo object and the default initial capacity. | |
ParameterCollection(Int32, CollationInfo) | Initializes a new instance of the ParameterCollection class that uses the specified capacity and CollationInfo object. |
Top
Properties
Name | Description | |
---|---|---|
AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection. (Inherited from OrderedCollection<T>.) | |
Count | Gets the number of elements in the collection. (Inherited from OrderedCollectionBase<T>.) | |
Item[Int32] | Gets the element at the specified index. (Inherited from OrderedCollectionBase<T>.) | |
Item[String] | Gets or sets the element that has the specified name. (Inherited from OrderedCollectionBase<T>.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an object to the collection using its name as the key. (Inherited from OrderedCollectionBase<T>.) | |
AddRange | Adds the elements of the specified collection to this collection. (Inherited from OrderedCollectionBase<T>.) | |
Clear | Removes all elements from the collection. (Inherited from OrderedCollectionBase<T>.) | |
Clone() | Creates an IMutableMetadataCollection<T> instance that is a copy of this object, except for the elements. (Inherited from OrderedCollectionBase<T>.) | |
Clone(Boolean) | Creates an IMutableMetadataCollection<T> instance that is a copy of this object and, if specified, also copies the elements. (Inherited from OrderedCollectionBase<T>.) | |
Contains(String) | Determines whether the specified element is in the collection. (Inherited from OrderedCollectionBase<T>.) | |
Contains(T) | Determines whether the specified element is in the collection. (Inherited from OrderedCollectionBase<T>.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindAll(Predicate<T>) | Finds all elements in the collection that match the conditions that are defined by the specified predicate. (Inherited from OrderedCollectionBase<T>.) | |
FindAll(String) | Finds all elements in the collection that have the specified name. (Inherited from OrderedCollectionBase<T>.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from OrderedCollectionBase<T>.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(String) | Removes the element that has the specified name from the collection. (Inherited from OrderedCollectionBase<T>.) | |
Remove(T) | Removes the specified element from the collection. (Inherited from OrderedCollectionBase<T>.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<IMetadataObject>.GetEnumerator | Returns an enumerator that can iterate through the collection. (Inherited from OrderedCollection<T>.) | |
IEnumerable.GetEnumerator | Returns an enumerator that can iterate through the collection. (Inherited from OrderedCollection<T>.) | |
IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection. (Inherited from OrderedCollection<T>.) | |
IMetadataCollection<IMetadataObject>.Contains(String) | Determines whether the collection contains an element that has the specified name. (Inherited from OrderedCollection<T>.) | |
IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) | Determines whether the collection contains an element that has the specified name. (Inherited from OrderedCollection<T>.) | |
IMetadataCollection<IMetadataObject>.Count | Gets the number of elements in the collection. (Inherited from OrderedCollection<T>.) | |
IMetadataCollection<IMetadataObject>.FindAll(String) | Determines whether the collection contains an element that has the specified name. (Inherited from OrderedCollection<T>.) | |
IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>) | Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Inherited from OrderedCollection<T>.) | |
IMetadataCollection<IMetadataObject>.Item[String] | Gets the element in the collection by name. (Inherited from OrderedCollection<T>.) | |
IMetadataCollection<T>.Item[String] | Gets the element that has the specified name. (Inherited from OrderedCollectionBase<T>.) | |
IMetadataOrderedCollection<IMetadataObject>.Item | Gets an element in the collection at the specified index. (Inherited from OrderedCollection<T>.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace