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

Definicja

Pobiera lub ustawia obraz w istniejącym ImageList.ImageCollectionobiekcie .

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 obrazu na podstawie zera, który ma być pobierany lub ustawiany.

Wartość właściwości

Object

Obraz na liście określony przez indeks.

Implementuje

Wyjątki

Indeks jest mniejszy niż 0 lub większy niż lub równy Count.

Próba zastąpienia obrazu nie powiodła się.

Obraz, który ma zostać przypisany, jest null mapą bitową.

Dotyczy