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

要添加到数组末尾的项。

返回

一个新数组,其中包含添加到末尾的指定项。

适用于