PropertyDescriptorCollection.IList.Item[Int32] Vlastnost

Definice

Získá nebo nastaví položku z kolekce v zadaném indexu.

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

Index položky založené na nule, kterou chcete získat nebo nastavit.

Hodnota vlastnosti

Prvek na pozici zadaného indexu.

Implementuje

Výjimky

Kolekce je jen pro čtení.

index je menší než 0.

-nebo-

index je rovno nebo větší než Count.

Platí pro