Condividi tramite


Proprietà IReadOnlyList<T>.Item

Gets the element at the specified index.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

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

Valore proprietà

Tipo: T
The element at the specified index.

Vedere anche

Riferimento

IReadOnlyList<T> Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc