Proprietà ReadOnlyList<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
Public ReadOnly Default Property Item ( _
index As Integer _
) As T
Get
'Utilizzo
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 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.