ImageList.ImageCollection.IList.Insert(Int32, Object) Méthode

Définition

Implémente la méthode Insert(Int32, Object). Lève une exception NotSupportedException dans tous les cas.

 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 de base zéro au niveau duquel value doit être inséré.

value
Object

Objet à insérer dans la collection.

Implémente

Exceptions

Dans tous les cas.

Remarques

Pour ajouter un élément à l’élément ImageList.ImageCollection, utilisez la Add méthode.

S’applique à