ImmutableArray<T>.Add(T) メソッド

定義

元の配列のコピーの末尾に指定した項目を追加して返します。

public:
 System::Collections::Immutable::ImmutableArray<T> Add(T item);
public System.Collections.Immutable.ImmutableArray<T> Add (T item);
member this.Add : 'T -> System.Collections.Immutable.ImmutableArray<'T>
Public Function Add (item As T) As ImmutableArray(Of T)

パラメーター

item
T

配列の末尾に追加する項目。

戻り値

指定した項目が末尾に追加された新しい配列。

適用対象