ColumnOrderedCollection Class

Represents a collection of IColumn objects in which element ordering is preserved.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.SqlParser.MetadataProvider.OrderedCollectionBase<IColumn>
    Microsoft.SqlServer.Management.SqlParser.MetadataProvider.OrderedCollection<IColumn>
      Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ColumnOrderedCollection

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

Syntax

'Declaration
Public Class ColumnOrderedCollection _
    Inherits OrderedCollection(Of IColumn)
'Usage
Dim instance As ColumnOrderedCollection
public class ColumnOrderedCollection : OrderedCollection<IColumn>
public ref class ColumnOrderedCollection : public OrderedCollection<IColumn^>
type ColumnOrderedCollection =  
    class 
        inherit OrderedCollection<IColumn>
    end
public class ColumnOrderedCollection extends OrderedCollection<IColumn>

The ColumnOrderedCollection type exposes the following members.

Constructors

  Name Description
Public method ColumnOrderedCollection(CollationInfo) Initializes a new instance of the ColumnOrderedCollection class that uses the specified CollationInfo object and the default initial capacity.
Public method ColumnOrderedCollection(Int32, CollationInfo) Initializes a new instance of the ColumnOrderedCollection class that uses the specified capacity and CollationInfo object.

Top

Properties

  Name Description
Public property AsMetadataObjectCollection Gets an IMetadataCollection<T> object that contains this collection. (Inherited from OrderedCollection<T>.)
Public property Count Gets the number of elements in the collection. (Inherited from OrderedCollectionBase<T>.)
Public property Item[Int32] Gets the element at the specified index. (Inherited from OrderedCollectionBase<T>.)
Public property Item[String] Gets or sets the element that has the specified name. (Inherited from OrderedCollectionBase<T>.)

Top

Methods

  Name Description
Public method Add Adds an object to the collection using its name as the key. (Inherited from OrderedCollectionBase<T>.)
Public method AddRange Adds the elements of the specified collection to this collection. (Inherited from OrderedCollectionBase<T>.)
Public method Clear Removes all elements from the collection. (Inherited from OrderedCollectionBase<T>.)
Public method Clone() Creates an IMutableMetadataCollection<T> instance that is a copy of this object, except for the elements. (Inherited from OrderedCollectionBase<T>.)
Public method 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>.)
Public method Contains(String) Determines whether the specified element is in the collection. (Inherited from OrderedCollectionBase<T>.)
Public method Contains(T) Determines whether the specified element is in the collection. (Inherited from OrderedCollectionBase<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindAll(Predicate<T>) Finds all elements in the collection that match the conditions that are defined by the specified predicate. (Inherited from OrderedCollectionBase<T>.)
Public method FindAll(String) Finds all elements in the collection that have the specified name. (Inherited from OrderedCollectionBase<T>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from OrderedCollectionBase<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(String) Removes the element that has the specified name from the collection. (Inherited from OrderedCollectionBase<T>.)
Public method Remove(T) Removes the specified element from the collection. (Inherited from OrderedCollectionBase<T>.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<IMetadataObject>.GetEnumerator Returns an enumerator that can iterate through the collection. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that can iterate through the collection. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate property IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection Gets an IMetadataCollection<T> object that contains this collection. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate method IMetadataCollection<IMetadataObject>.Contains(String) Determines whether the collection contains an element that has the specified name. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate method IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) Determines whether the collection contains an element that has the specified name. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate property IMetadataCollection<IMetadataObject>.Count Gets the number of elements in the collection. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate method IMetadataCollection<IMetadataObject>.FindAll(String) Determines whether the collection contains an element that has the specified name. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate method IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>) Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate property IMetadataCollection<IMetadataObject>.Item[String] Gets the element in the collection by name. (Inherited from OrderedCollection<T>.)
Explicit interface implemetationPrivate property IMetadataCollection<T>.Item[String] Gets the element that has the specified name. (Inherited from OrderedCollectionBase<T>.)
Explicit interface implemetationPrivate property 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