ImmutableList<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

要加入的值。

傳回

已新增項目的新清單。

實作

備註

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

適用於