Interfaz IMetadataOrderedCollection(T)
Represents a collection of metadata objects where the element ordering is preserved.
Espacio de nombres: Microsoft.SqlServer.Management.SqlParser.Metadata
Ensamblado: Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)
Sintaxis
'Declaración
Public Interface IMetadataOrderedCollection(Of T As IMetadataObject) _
Inherits IMetadataCollection(Of T), IEnumerable(Of T), IEnumerable
'Uso
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 no admite tipos y métodos genéricos.
Parámetros de tipo
- T
The type of the elements in the collection, constrained to IMetadataObject.
El tipo IMetadataOrderedCollection<(Of <(<'T>)>)> expone los siguientes miembros.
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
AsMetadataObjectCollection | Gets an IMetadataCollection<(Of <(<'T>)>)> object that contains this collection. (Se hereda de IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Count | Gets the number of elements in the collection. (Se hereda de IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Item[ ( [ ( String] ) ] ) | Gets the element in the collection by name. (Se hereda de IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
Item[ ( [ ( Int32] ) ] ) | Gets the element at the specified index. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Contains(String) | Determines whether the collection contains an element that has the specified name. (Se hereda de IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
FindAll(Predicate< (Of < <' (T> ) > > )) | Retrieves all elements in the collection that match the conditions defined by the specified predicate. (Se hereda de IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
FindAll(String) | Retrieves all elements in the collection that have the specified name. (Se hereda de IMetadataCollection< (Of < ( <'T> ) > ) >.) |
![]() |
GetEnumerator() () () () | (Se hereda de IEnumerable< (Of < ( <'T> ) > ) >.) |
![]() |
GetEnumerator() () () () | (Se hereda de IEnumerable.) |
Arriba
.gif)
.gif)