Partilhar via


Interface IMutableMetadataOrderedCollection(T)

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

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (em Microsoft.SqlServer.Management.SqlParser.dll)

Sintaxe

'Declaração
Public Interface IMutableMetadataOrderedCollection(Of T As {Class, IMetadataObject}) _
    Inherits IMetadataOrderedCollection(Of T), IMutableMetadataCollection(Of T), IMetadataCollection(Of T),  _
    IEnumerable(Of T), IEnumerable
'Uso
Dim instance As IMutableMetadataOrderedCollection(Of T)
public interface IMutableMetadataOrderedCollection<T> : IMetadataOrderedCollection<T>, 
    IMutableMetadataCollection<T>, IMetadataCollection<T>, IEnumerable<T>, IEnumerable
where T : class, IMetadataObject
generic<typename T>
where T : ref class, IMetadataObject
public interface class IMutableMetadataOrderedCollection : IMetadataOrderedCollection<T>, 
    IMutableMetadataCollection<T>, IMetadataCollection<T>, IEnumerable<T>, IEnumerable
type IMutableMetadataOrderedCollection<'T when 'T : not struct and IMetadataObject> =  
    interface
        interface IMetadataOrderedCollection<'T>
        interface IMutableMetadataCollection<'T>
        interface IMetadataCollection<'T>
        interface IEnumerable<'T>
        interface IEnumerable
    end
JScript não dá suporte a tipos e métodos genéricos.

Parâmetros de tipo

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

O tipo IMutableMetadataOrderedCollection<(Of <(<'T>)>)> expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública AsMetadataObjectCollection Gets an IMetadataCollection<(Of <(<'T>)>)> object that contains this collection. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Propriedade pública Count Gets the number of elements in the collection. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Propriedade pública Item[ ( [ ( String] ) ] ) Gets the element in the collection by name. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Propriedade pública Item[ ( [ ( Int32] ) ] ) Gets the element at the specified index. (Herdado de IMetadataOrderedCollection< (Of < ( <'T> ) > ) >.)
Propriedade pública Item[ ( [ ( String] ) ] ) Gets or sets the element in the collection by name. (Herdado de IMutableMetadataCollection< (Of < ( <'T> ) > ) >.)

Início

Métodos

  Nome Descrição
Método público Add Adds an element to the end of the collection. (Herdado de IMutableMetadataCollection< (Of < ( <'T> ) > ) >.)
Método público AddRange Adds the elements in the specified collection to the end of this collection. (Herdado de IMutableMetadataCollection< (Of < ( <'T> ) > ) >.)
Método público Clear Removes all elements from the collection. (Herdado de IMutableMetadataCollection< (Of < ( <'T> ) > ) >.)
Método público Clone() () () () Creates an IMutableMetadataCollection<(Of <(<'T>)>)> instance that is a copy of this object, except for the elements. (Herdado de IMutableMetadataCollection< (Of < ( <'T> ) > ) >.)
Método público Clone(Boolean) Creates an IMutableMetadataCollection<(Of <(<'T>)>)> instance that is a copy of this object and, if specified, also copies the elements. (Herdado de IMutableMetadataCollection< (Of < ( <'T> ) > ) >.)
Método público Contains(String) Determines whether the collection contains an element that has the specified name. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Método público FindAll(Predicate< (Of < <' (T> ) > > )) Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Método público FindAll(String) Retrieves all elements in the collection that have the specified name. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.)
Método público GetEnumerator() () () () (Herdado de IEnumerable< (Of < ( <'T> ) > ) >.)
Método público GetEnumerator() () () () (Herdado de IEnumerable.)
Método público Remove(String) Removes the first element that has the specified name from the collection. (Herdado de IMutableMetadataCollection< (Of < ( <'T> ) > ) >.)

Início