Edit

Share via


OrderedDictionary<TKey,TValue>.KeyCollection.IList<TKey>.Insert Method

Definition

Inserts an item to the IList<T> at the specified index.

 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

Parameters

index
Int32

The zero-based index at which item should be inserted.

item
TKey

The object to insert into the IList<T>.

Implements

Applies to