OrderedDictionary<TKey,TValue>.IList<KeyValuePair<TKey,TValue>>.Insert 方法

定义

将项插入到指定索引处的 IList<T>

 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

参数

index
Int32

应插入 item 的从零开始的索引。

item
KeyValuePair<TKey,TValue>

要插入 IList<T>的对象。

实现

适用于