Array.IList.Insert(Int32, Object) Metoda

Definice

Vloží položku do zadaného indexu IList .

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
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 value se má vložit.

value
Object

Objekt, který se má vložit.

Implementuje

Výjimky

index není platný index v souboru IList.

Je IList jen pro čtení.

-nebo-

IList pevnou velikost.

value je nulový odkaz v sadě IList.

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze ho použít pouze v Array případě, že je instance přetypována do IList rozhraní.

Platí pro