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

定義

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

 virtual void System.Collections.Generic.IList<T>.Insert(int index, T value) = System::Collections::Generic::IList<T>::Insert;
void IList<T>.Insert(int index, T value);
abstract member System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
override this.System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
Sub Insert (index As Integer, value As T) Implements IList(Of T).Insert

パラメーター

index
Int32

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

value
T

IList<T>に挿入するオブジェクト。

実装

例外

常にスローされます。

注釈

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

適用対象