Array.IList.Insert(Int32, Object) Metodo

Definizione

Inserisce un elemento in IList in corrispondenza dell'indice specificato.

 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

Parametri

index
Int32

Indice in cui value dovrebbe essere inserito.

value
Object

Oggetto da inserire.

Implementazioni

Eccezioni

index non è un indice valido nell'interfaccia IList.

La classe IList è di sola lettura.

-oppure-

Le dimensioni dell'oggetto IList sono fisse.

value è un riferimento Null in IList.

Commenti

Questo membro è un’implementazione esplicita di un membro di interfaccia. Può essere utilizzato solo quando si esegue il cast dell'istanza Array a un'interfaccia IList.

Si applica a