Freigeben über


IReadOnlyList<T>.Item-Eigenschaft

Gets the element at the specified index.

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

Syntax

'Declaration
ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

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

Eigenschaftswert

Typ: T
The element at the specified index.

Siehe auch

Verweis

IReadOnlyList<T> Schnittstelle

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace