語言

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 的項目。

適用於