Interface IMutableMetadataCollection(T)
Defines methods to manipulate collections of objects that implement the IMetadataObject interface.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (em Microsoft.SqlServer.Management.SqlParser.dll)
Sintaxe
'Declaração
Public Interface IMutableMetadataCollection(Of T As IMetadataObject) _
Inherits IMetadataCollection(Of T), IEnumerable(Of T), IEnumerable
'Uso
Dim instance As IMutableMetadataCollection(Of T)
public interface IMutableMetadataCollection<T> : IMetadataCollection<T>,
IEnumerable<T>, IEnumerable
where T : IMetadataObject
generic<typename T>
where T : IMetadataObject
public interface class IMutableMetadataCollection : IMetadataCollection<T>,
IEnumerable<T>, IEnumerable
type IMutableMetadataCollection<'T when 'T : IMetadataObject> =
interface
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 IMutableMetadataCollection<(Of <(<'T>)>)> expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
AsMetadataObjectCollection | Gets an IMetadataCollection<(Of <(<'T>)>)> object that contains this collection. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.) | |
Count | Gets the number of elements in the collection. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.) | |
Item[ ( [ ( String] ) ] ) | Gets the element in the collection by name. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.) | |
Item[ ( [ ( String] ) ] ) | Gets or sets the element in the collection by name. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Add | Adds an element to the end of the collection. | |
AddRange | Adds the elements in the specified collection to the end of this collection. | |
Clear | Removes all elements from the collection. | |
Clone() () () () | Creates an IMutableMetadataCollection<(Of <(<'T>)>)> instance that is a copy of this object, except for the elements. | |
Clone(Boolean) | Creates an IMutableMetadataCollection<(Of <(<'T>)>)> instance that is a copy of this object and, if specified, also copies the elements. | |
Contains(String) | Determines whether the collection contains an element that has the specified name. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.) | |
FindAll(Predicate< (Of < <' (T> ) > > )) | Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.) | |
FindAll(String) | Retrieves all elements in the collection that have the specified name. (Herdado de IMetadataCollection< (Of < ( <'T> ) > ) >.) | |
GetEnumerator() () () () | (Herdado de IEnumerable< (Of < ( <'T> ) > ) >.) | |
GetEnumerator() () () () | (Herdado de IEnumerable.) | |
Remove(String) | Removes the first element that has the specified name from the collection. | |
Remove(T) | Removes the first occurrence of a specific object from the collection. |
Início