FreezableCollection<T>.Insert(Int32, T) メソッド
定義
指定したオブジェクトを、FreezableCollection<T> の指定したインデックス位置に挿入します。Inserts the specified object into the FreezableCollection<T> at the specified index.
public:
virtual void Insert(int index, T value);
public void Insert (int index, T value);
abstract member Insert : int * 'T -> unit
override this.Insert : int * 'T -> unit
Public Sub Insert (index As Integer, value As T)
パラメーター
- index
- Int32
value
を挿入する位置の、0 から始まるインデックス。The zero-based index at which value
should be inserted.
- value
- T
挿入するオブジェクト。The object to insert.
実装
例外
value
が null
です。value
is null
.
index
が 0 未満です。index
is less than 0.
- または --or-
index
が Count より大きくなっています。index
is greater than Count.
FreezableCollection<T> が固定されています (IsFrozen プロパティが true
)。The FreezableCollection<T> is frozen (its IsFrozen property is true
).