Język

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

Definicja

Pobiera lub ustawia wartość Int32 w 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 zerowy Int32 klasy , który ma być pobierany lub ustawiany.

Wartość właściwości

Wartość Int32 w określonym indeksie.

Implementuje

Wyjątki

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

— lub —

index jest równe lub większe niż Count.

Dotyczy