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です。

適用対象