IndexedColumnCollection IndexedColumnCollection IndexedColumnCollection Class

Definition

Represents a collection of IIndexedColumn objects.

public ref class IndexedColumnCollection : Microsoft::SqlServer::Management::SqlParser::MetadataProvider::OrderedCollection<Microsoft::SqlServer::Management::SqlParser::Metadata::IIndexedColumn ^>
public class IndexedColumnCollection : Microsoft.SqlServer.Management.SqlParser.MetadataProvider.OrderedCollection<Microsoft.SqlServer.Management.SqlParser.Metadata.IIndexedColumn>
Public Class IndexedColumnCollection
Inherits OrderedCollection(Of IIndexedColumn)
Inheritance

Constructors

IndexedColumnCollection(CollationInfo) IndexedColumnCollection(CollationInfo) IndexedColumnCollection(CollationInfo)

Initializes a new instance of the IndexedColumnCollection class that uses the specified CollationInfo object and the default initial capacity.

IndexedColumnCollection(Int32, CollationInfo) IndexedColumnCollection(Int32, CollationInfo) IndexedColumnCollection(Int32, CollationInfo)

Initializes a new instance of the IndexedColumnCollection class that uses the specified capacity and CollationInfo object.

Properties

AsMetadataObjectCollection AsMetadataObjectCollection AsMetadataObjectCollection

Gets an IMetadataCollection<T> object that contains this collection.

(Inherited from OrderedCollection<T>)
Count Count Count

Gets the number of elements in the collection.

(Inherited from OrderedCollectionBase<T>)
IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection Inherited from OrderedCollection<T>
IMetadataCollection<IMetadataObject>.Count IMetadataCollection<IMetadataObject>.Count IMetadataCollection<IMetadataObject>.Count Inherited from OrderedCollection<T>
IMetadataCollection<IMetadataObject>.Item[String] IMetadataCollection<IMetadataObject>.Item[String] IMetadataCollection<IMetadataObject>.Item[String] Inherited from OrderedCollection<T>
IMetadataCollection<T>.Item[String] IMetadataCollection<T>.Item[String] IMetadataCollection<T>.Item[String] Inherited from OrderedCollectionBase<T>
IMetadataOrderedCollection<IMetadataObject>.Item[Int32] IMetadataOrderedCollection<IMetadataObject>.Item[Int32] IMetadataOrderedCollection<IMetadataObject>.Item[Int32] Inherited from OrderedCollection<T>
Item[Int32] Item[Int32] Item[Int32]

Gets the element at the specified index.

(Inherited from OrderedCollectionBase<T>)
Item[String] Item[String] Item[String]

Gets or sets the element that has the specified name.

(Inherited from OrderedCollectionBase<T>)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that can iterate through the collection.

(Inherited from OrderedCollection<T>)
IEnumerable<IMetadataObject>.GetEnumerator() IEnumerable<IMetadataObject>.GetEnumerator() IEnumerable<IMetadataObject>.GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from OrderedCollection<T>)
IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) IMetadataCollection<IMetadataObject>.Contains(IMetadataObject)

Determines whether the collection contains the specified object.

(Inherited from OrderedCollection<T>)
IMetadataCollection<IMetadataObject>.Contains(String) IMetadataCollection<IMetadataObject>.Contains(String) IMetadataCollection<IMetadataObject>.Contains(String)

Determines whether the collection contains the specified element.

(Inherited from OrderedCollection<T>)
IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>) IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>) 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>.FindAll(String) IMetadataCollection<IMetadataObject>.FindAll(String) IMetadataCollection<IMetadataObject>.FindAll(String)

Retrieves all elements in the collection that have the specified name.

(Inherited from OrderedCollection<T>)

Methods

Add(T) Add(T) Add(T)

Adds an object to the collection using its name as the key.

(Inherited from OrderedCollectionBase<T>)
AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>)

Adds the elements of the specified collection to this collection.

(Inherited from OrderedCollectionBase<T>)
Clear() Clear() Clear()

Removes all elements from the collection.

(Inherited from OrderedCollectionBase<T>)
Clone() Clone() Clone()

Creates an IMutableMetadataCollection<T> instance that is a copy of this object, except for the elements.

(Inherited from OrderedCollectionBase<T>)
Clone(Boolean) Clone(Boolean) 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) Contains(String) Contains(String)

Determines whether the specified element is in the collection.

(Inherited from OrderedCollectionBase<T>)
Contains(T) Contains(T) Contains(T)

Determines whether the specified element is in the collection.

(Inherited from OrderedCollectionBase<T>)
FindAll(Predicate<T>) FindAll(Predicate<T>) 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) FindAll(String) FindAll(String)

Finds all elements in the collection that have the specified name.

(Inherited from OrderedCollectionBase<T>)
GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from OrderedCollectionBase<T>)
Remove(String) Remove(String) Remove(String)

Removes the element that has the specified name from the collection.

(Inherited from OrderedCollectionBase<T>)
Remove(T) Remove(T) Remove(T)

Removes the specified element from the collection.

(Inherited from OrderedCollectionBase<T>)

Applies to