ImmutableList<T>.Insert(Int32, T) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したオブジェクトを、指定したインデックス位置にある変更できないリストに挿入します。
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
挿入するオブジェクト。
返品
オブジェクトが挿入された後の新しい変更できないリスト。