Export (0) Print
Expand All

ColumnCollection Class

Represents a collection of IColumn objects.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public class ColumnCollection : DualTypeSortedListCollection<IColumn, IScalar>

The ColumnCollection type exposes the following members.

  NameDescription
Public methodColumnCollection(CollationInfo)Initializes a new instance of the ColumnCollection class that uses the specified CollationInfo object and the default initial capacity.
Public methodColumnCollection(Int32, CollationInfo)Initializes a new instance of the ColumnCollection class that uses the specified capacity and CollationInfo object.
Top

  NameDescription
Public propertyAsMetadataObjectCollectionGets an IMetadataCollection<T> object that contains this collection. (Inherited from SortedListCollection<T>.)
Public propertyCountGets the number of elements in the collection. (Inherited from DictionaryCollectionBase<T, U>.)
Public propertyItemGets or sets the object in the collection that has the specified name. (Inherited from DictionaryCollectionBase<T, U>.)
Top

  NameDescription
Public methodAddAdds an object to the collection using its name as the key. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodAddRangeAdds the elements in the specified collection to this collection. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodClearRemoves all elements from the collection. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodClone()Creates an IMutableMetadataCollection<T> object that is a copy of this object, except for the elements. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodClone(Boolean)Creates an IMutableMetadataCollection<T> object that is a copy of this object and, if specified, also copies the elements. (Inherited from SortedListCollection<T>.)
Public methodContains(String)Determines whether the specified element is in the collection. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodContains(T)Determines whether the specified element is in the collection. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindAll(Predicate<T>)Finds all elements in the collection that match the conditions defined by the specified predicate. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodFindAll(String)Finds all elements in the collection that have the specified name. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove(String)Removes the object with the specified name from the collection. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodRemove(T)Removes the specified object from the collection. (Inherited from DictionaryCollectionBase<T, U>.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable<B>.GetEnumerator()Returns an enumerator that iterates through the collection. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate methodIEnumerable<IMetadataObject>.GetEnumerator()Returns an enumerator that iterates through the collection. (Inherited from SortedListCollection<T>.)
Explicit interface implemetationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate propertyIMetadataCollection<B>.AsMetadataObjectCollectionGets an IMetadataCollection<T> object that contains this collection. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate propertyIMetadataCollection<IMetadataObject>.AsMetadataObjectCollectionGets an IMetadataCollection<T> object that contains this collection. (Inherited from SortedListCollection<T>.)
Explicit interface implemetationPrivate methodIMetadataCollection<B>.Contains(String)Determines whether the collection contains the specified element. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate methodIMetadataCollection<B>.Contains(B)Determines whether the collection contains the specified object. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate methodIMetadataCollection<IMetadataObject>.Contains(String)Determines whether the collection contains an element that has the specified name. (Inherited from SortedListCollection<T>.)
Explicit interface implemetationPrivate methodIMetadataCollection<IMetadataObject>.Contains(IMetadataObject)Determines whether the collection contains the specified object. (Inherited from SortedListCollection<T>.)
Explicit interface implemetationPrivate propertyIMetadataCollection<B>.CountGets the number of elements in the collection. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate propertyIMetadataCollection<IMetadataObject>.CountGets the number of elements in the collection. (Inherited from SortedListCollection<T>.)
Explicit interface implemetationPrivate methodIMetadataCollection<B>.FindAll(Predicate<B>)Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate methodIMetadataCollection<B>.FindAll(String)Retrieves all elements in the collection that have the specified name. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate methodIMetadataCollection<IMetadataObject>.FindAll(String)Retrieves all elements in the collection that have the specified name. (Inherited from SortedListCollection<T>.)
Explicit interface implemetationPrivate methodIMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>)Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Inherited from SortedListCollection<T>.)
Explicit interface implemetationPrivate propertyIMetadataCollection<T>.Item[String]Gets the specified element from the collection. (Inherited from DictionaryCollectionBase<T, U>.)
Explicit interface implemetationPrivate propertyIMetadataCollection<B>.Item[String]Gets the specified element from the collection. (Inherited from DualTypeSortedListCollection<T, B>.)
Explicit interface implemetationPrivate propertyIMetadataCollection<IMetadataObject>.Item[String]Gets the element that has the specified name. (Inherited from SortedListCollection<T>.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft