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

定義

指定したオブジェクトを、指定したインデックス位置にある変更できないリストに挿入します。

public:
 System::Collections::Immutable::ImmutableList<T> ^ Insert(int index, T item);
public System.Collections.Immutable.ImmutableList<T> Insert(int index, T item);
member this.Insert : int * 'T -> System.Collections.Immutable.ImmutableList<'T>
Public Function Insert (index As Integer, item As T) As ImmutableList(Of T)

パラメーター

index
Int32

オブジェクトを挿入する位置の 0 から始まるインデックス。

item
T

挿入するオブジェクト。

返品

オブジェクトが挿入された後の新しい変更できないリスト。

適用対象