Поделиться через


OrderedDictionary<TKey,TValue>.KeyCollection.IList<TKey>.Insert Метод

Определение

Вставляет элемент в IList<T> по указанному индексу.

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

Параметры

index
Int32

Отсчитываемый от нуля индекс, по которому необходимо вставить item.

item
TKey

Объект, вставляемый в IList<T>.

Реализации

Применяется к