ImmutableList<T>.Item[Int32] Właściwość

Definicja

Pobiera element w określonym indeksie listy.

public:
 property T default[int] { T get(int index); };
public T this[int index] { get; }
member this.Item(int) : 'T
Default Public ReadOnly Property Item(index As Integer) As T

Parametry

index
Int32

Indeks elementu do pobrania.

Wartość właściwości

T

Element pod określonym indeksem.

Implementuje

Wyjątki

W operacji index pobierania wartość ujemna lub nie mniejsza niż Count.

Dotyczy