Compartir a través de


OrderedDictionary<TKey,TValue>.IList<KeyValuePair<TKey,TValue>>.Insert Método

Definición

Inserta un elemento en el IList<T> en el índice especificado.

 virtual void System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Insert(int index, System::Collections::Generic::KeyValuePair<TKey, TValue> item) = System::Collections::Generic::IList<System::Collections::Generic::KeyValuePair<TKey, TValue>>::Insert;
void IList<KeyValuePair<TKey,TValue>>.Insert (int index, System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Insert : int * System.Collections.Generic.KeyValuePair<'Key, 'Value> -> unit
override this.System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Insert : int * System.Collections.Generic.KeyValuePair<'Key, 'Value> -> unit
Sub Insert (index As Integer, item As KeyValuePair(Of TKey, TValue)) Implements IList(Of KeyValuePair(Of TKey, TValue)).Insert

Parámetros

index
Int32

Índice de base cero en el que se debe insertar item.

item
KeyValuePair<TKey,TValue>

Objeto que se va a insertar en el IList<T>.

Implementaciones

Se aplica a