Int32Collection.Item[Int32] Właściwość

Definicja

Pobiera lub ustawia wartość Int32 na określonej pozycji indeksu.

public:
 property int default[int] { int get(int index); void set(int index, int value); };
public int this[int index] { get; set; }
member this.Item(int) : int with get, set
Default Public Property Item(index As Integer) As Integer

Parametry

index
Int32

Indeks oparty na zerowej Int32 wartości parametru do pobrania lub ustawienia.

Wartość właściwości

Element Int32 w określonym indeksie.

Implementuje

Wyjątki

Parametr index ma wartość niższą niż zero.

-lub-

index jest równa lub większa niż Count.

Dotyczy