ImmutableArray<T>.IImmutableList<T>.Add(T) 方法

定義

傳回已在結尾處加入指定項目的原始陣列複本。

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Add(T value) = System::Collections::Immutable::IImmutableList<T>::Add;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Add (T value);
abstract member System.Collections.Immutable.IImmutableList<T>.Add : 'T -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Add : 'T -> System.Collections.Immutable.IImmutableList<'T>
Function Add (value As T) As IImmutableList(Of T) Implements IImmutableList(Of T).Add

參數

value
T

要加入陣列結尾處的值。

傳回

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

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableArray<T> 執行個體轉換成 IImmutableList<T> 介面時,才能使用這個成員。

適用於