PropertyDescriptorCollection.IList.Item[Int32] Właściwość

Definicja

Pobiera lub ustawia element z kolekcji w określonym indeksie.

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int index] { get; set; }
object? System.Collections.IList.Item[int index] { get; set; }
member this.System.Collections.IList.Item(int) : obj with get, set
 Property Item(index As Integer) As Object Implements IList.Item

Parametry

index
Int32

Indeks zerowy elementu do pobrania lub ustawienia.

Wartość właściwości

Element pod określonym indeksem.

Implementuje

Wyjątki

Kolekcja jest tylko do odczytu.

index wartość jest mniejsza niż 0.

-lub-

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

Dotyczy