ReadOnlyCollection<T>.IList.Insert(Int32, Object) メソッド

定義

指定したインデックス位置にある IList に項目を挿入します。 この実装では、常に NotSupportedExceptionがスローされます。

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert(int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

パラメーター

index
Int32

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

value
Object

Objectに挿入するIList

実装

例外

常にスローされます。

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ReadOnlyCollection<T> インスタンスがIList インターフェイスにキャストされている場合にのみ使用できます。

適用対象