Share via


SynchronizedKeyedCollection<K,T>.InsertItem(Int32, T) 方法

定义

将某个项插入集合中的指定位置。

protected:
 override void InsertItem(int index, T item);
protected override void InsertItem (int index, T item);
override this.InsertItem : int * 'T -> unit
Protected Overrides Sub InsertItem (index As Integer, item As T)

参数

index
Int32

从零开始的索引,它指定项在集合中的插入位置。

item
T

要插入集合的类型 T 的项。

适用于