Partilhar via


Propriedade do RDL IReadOnlyList<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
ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Uso
Dim instance As IReadOnlyList 
Dim index As Integer 
Dim value As T

value = instance(index)
T this[
    int index
] { get; }
property T default[int index] {
    T get (int index);
}
abstract 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.

Consulte também

Referência

IReadOnlyList<T> Interface

Namespace Microsoft.SqlServer.Management.Sdk.Sfc