語言

RdlCollectionBase<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

要插入的物件。 對於參考型別,該值可以為 null。

適用於