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

要加入陣列結尾處的項目。

傳回

已在結尾處加入指定項目的新陣列。

適用於