Partilhar via


Propriedade do RDL ReadOnlyList<T>.Item

Gets the element at the specified index.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Uso
Dim instance As ReadOnlyList 
Dim index As Integer 
Dim value As T

value = instance(index)
public T this[
    int index
] { get; }
public:
virtual property T default[int index] {
    T get (int index) sealed;
}
abstract Item : 'T
override Item : 'T
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

  • index
    Tipo: System.Int32
    The zero-based index of the element to get.

Valor da propriedade

Tipo: T
The element at the specified index.

Implementa

IReadOnlyList<T>.Item[Int32]

Consulte também

Referência

ReadOnlyList<T> Estrutura

Namespace Microsoft.SqlServer.Management.Sdk.Sfc