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

要加入到陣列末尾的項目。

傳回

一個新陣列,並在末尾加上指定的項目。

適用於