Condividi tramite


Interfaccia IMutableMetadataOrderedCollection(T)

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

Spazio dei nomi  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Sintassi

'Dichiarazione
Public Interface IMutableMetadataOrderedCollection(Of T As {Class, IMetadataObject}) _
    Inherits IMetadataOrderedCollection(Of T), IMutableMetadataCollection(Of T), IMetadataCollection(Of T),  _
    IEnumerable(Of T), IEnumerable
'Utilizzo
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 non supporta i metodi e i tipi generici.

Parametri di tipo

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

Nel tipo IMutableMetadataOrderedCollection<(Of <(<'T>)>)> sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica AsMetadataObjectCollection Gets an IMetadataCollection<(Of <(<'T>)>)> object that contains this collection. Ereditato da IMetadataCollection< (Of < ( <'T> ) > ) >.
Proprietà pubblica Count Gets the number of elements in the collection. Ereditato da IMetadataCollection< (Of < ( <'T> ) > ) >.
Proprietà pubblica Item[ ( [ ( String] ) ] ) Gets the element in the collection by name. Ereditato da IMetadataCollection< (Of < ( <'T> ) > ) >.
Proprietà pubblica Item[ ( [ ( Int32] ) ] ) Gets the element at the specified index. Ereditato da IMetadataOrderedCollection< (Of < ( <'T> ) > ) >.
Proprietà pubblica Item[ ( [ ( String] ) ] ) Gets or sets the element in the collection by name. Ereditato da IMutableMetadataCollection< (Of < ( <'T> ) > ) >.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Add Adds an element to the end of the collection. Ereditato da IMutableMetadataCollection< (Of < ( <'T> ) > ) >.
Metodo pubblico AddRange Adds the elements in the specified collection to the end of this collection. Ereditato da IMutableMetadataCollection< (Of < ( <'T> ) > ) >.
Metodo pubblico Clear Removes all elements from the collection. Ereditato da IMutableMetadataCollection< (Of < ( <'T> ) > ) >.
Metodo pubblico Clone() () () () Creates an IMutableMetadataCollection<(Of <(<'T>)>)> instance that is a copy of this object, except for the elements. Ereditato da IMutableMetadataCollection< (Of < ( <'T> ) > ) >.
Metodo pubblico Clone(Boolean) Creates an IMutableMetadataCollection<(Of <(<'T>)>)> instance that is a copy of this object and, if specified, also copies the elements. Ereditato da IMutableMetadataCollection< (Of < ( <'T> ) > ) >.
Metodo pubblico Contains(String) Determines whether the collection contains an element that has the specified name. Ereditato da IMetadataCollection< (Of < ( <'T> ) > ) >.
Metodo pubblico FindAll(Predicate< (Of < <' (T> ) > > )) Retrieves all elements in the collection that match the conditions defined by the specified predicate. Ereditato da IMetadataCollection< (Of < ( <'T> ) > ) >.
Metodo pubblico FindAll(String) Retrieves all elements in the collection that have the specified name. Ereditato da IMetadataCollection< (Of < ( <'T> ) > ) >.
Metodo pubblico GetEnumerator() () () () Ereditato da IEnumerable< (Of < ( <'T> ) > ) >.
Metodo pubblico GetEnumerator() () () () Ereditato da IEnumerable.
Metodo pubblico Remove(String) Removes the first element that has the specified name from the collection. Ereditato da IMutableMetadataCollection< (Of < ( <'T> ) > ) >.

In alto