Språk

ImageList.ImageCollection.IList.Insert(Int32, Object) Metod

Definition

Implementerar Insert(Int32, Object) metoden. Kastar en NotSupportedException i alla fall.

 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

Parametrar

index
Int32

Det nollbaserade index som value ska infogas i.

value
Object

Objektet som ska infogas i samlingen.

Implementeringar

Undantag

I samtliga fall.

Kommentarer

Om du vill lägga till ett objekt i ImageList.ImageCollectionanvänder du Add metoden .

Gäller för