CheckedListBox.CheckedIndexCollection.IList.Insert(Int32, Object) Metoda

Definice

Popis tohoto člena najdete v tématu Insert(Int32, Object).

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
void IList.Insert (int index, object? value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

Parametry

index
Int32

Index, do kterého má být vložena hodnota.

value
Object

Objekt, který se má přidat do objektu CheckedListBox.CheckedIndexCollection.

Implementuje

Výjimky

Vždy vyvolána.

Poznámky

Třídu nelze změnit CheckedListBox.CheckedIndexCollection přímo. Pokud chcete přidat položku do objektu CheckedListBox.CheckedIndexCollection, použijte metodu SetItemChecked nebo SetItemCheckState .

Platí pro