ImmutableList<T>.IImmutableList<T>.Insert(Int32, T) メソッド

定義

指定した要素を、変更できないリストの指定したインデックス位置に挿入します。

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Insert(int index, T item) = System::Collections::Immutable::IImmutableList<T>::Insert;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Insert (int index, T item);
abstract member System.Collections.Immutable.IImmutableList<T>.Insert : int * 'T -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Insert : int * 'T -> System.Collections.Immutable.IImmutableList<'T>
Function Insert (index As Integer, item As T) As IImmutableList(Of T) Implements IImmutableList(Of T).Insert

パラメーター

index
Int32

値を挿入する位置を示すインデックス。

item
T

挿入する要素。

戻り値

IImmutableList<T>

指定した要素が含まれている新しい変更できないリスト。

実装

注釈

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

適用対象