KeyedByTypeCollection<TItem>.InsertItem(Int32, TItem) メソッド

定義

特定の場所にあるコレクションに要素を挿入します。

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

パラメーター

index
Int32

itemを挿入する位置を示す 0 から始まるインデックス。

item
TItem

コレクションに挿入するオブジェクト。

例外

itemnullです。

適用対象