Langue

CheckedListBox.CheckedIndexCollection.IList.Insert(Int32, Object) Méthode

Définition

Pour obtenir une description de ce membre, consultez 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

Paramètres

index
Int32

Index auquel la valeur doit être insérée.

value
Object

Objet à ajouter au CheckedListBox.CheckedIndexCollection.

Implémente

Exceptions

Toujours levée.

Remarques

Vous ne pouvez pas modifier la CheckedListBox.CheckedIndexCollection classe directement. Pour ajouter un élément à l’élémentCheckedListBox.CheckedIndexCollection, utilisez la ou SetItemChecked la SetItemCheckState méthode.

S’applique à