Sdílet prostřednictvím


OrderedDictionary<TKey,TValue>.IList<KeyValuePair<TKey,TValue>>.Insert Metoda

Definice

Vloží položku do IList<T> v zadaném indexu.

 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

Parametry

index
Int32

Index založený na nule, do kterého se má vložit item.

item
KeyValuePair<TKey,TValue>

Objekt, který chcete vložit do IList<T>.

Implementuje

Platí pro