Partager via


Interface IMetadataOrderedCollection(T)

Represents a collection of metadata objects where the element ordering is preserved.

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Public Interface IMetadataOrderedCollection(Of T As IMetadataObject) _
    Inherits IMetadataCollection(Of T), IEnumerable(Of T), IEnumerable
'Utilisation
Dim instance As IMetadataOrderedCollection(Of T)
public interface IMetadataOrderedCollection<T> : IMetadataCollection<T>, 
    IEnumerable<T>, IEnumerable
where T : IMetadataObject
generic<typename T>
where T : IMetadataObject
public interface class IMetadataOrderedCollection : IMetadataCollection<T>, 
    IEnumerable<T>, IEnumerable
type IMetadataOrderedCollection<'T when 'T : IMetadataObject> =  
    interface
        interface IMetadataCollection<'T>
        interface IEnumerable<'T>
        interface IEnumerable
    end
JScript ne prend pas en charge les types et les méthodes génériques.

Paramètres de type

  • T
    The type of the elements in the collection, constrained to IMetadataObject.

Le type IMetadataOrderedCollection<(Of <(<'T>)>)> expose les membres suivants.

Propriétés

  Nom Description
Propriété publique AsMetadataObjectCollection Gets an IMetadataCollection<(Of <(<'T>)>)> object that contains this collection. (hérité de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Propriété publique Count Gets the number of elements in the collection. (hérité de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Propriété publique Item[ ( [ ( String] ) ] ) Gets the element in the collection by name. (hérité de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets the element at the specified index.

Haut de la page

Méthodes

  Nom Description
Méthode publique Contains(String) Determines whether the collection contains an element that has the specified name. (hérité de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Méthode publique FindAll(Predicate< (Of < <' (T> ) > > )) Retrieves all elements in the collection that match the conditions defined by the specified predicate. (hérité de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Méthode publique FindAll(String) Retrieves all elements in the collection that have the specified name. (hérité de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Méthode publique GetEnumerator() () () () (hérité de IEnumerable< (Of < ( <'T> ) > ) >.)
Méthode publique GetEnumerator() () () () (hérité de IEnumerable.)

Haut de la page