语言

IImmutableList<T>.Add(T) 方法

定义

创建列表的副本,并将指定的对象添加到复制列表的末尾。

public:
 System::Collections::Immutable::IImmutableList<T> ^ Add(T value);
public System.Collections.Immutable.IImmutableList<T> Add(T value);
abstract member Add : 'T -> System.Collections.Immutable.IImmutableList<'T>
Public Function Add (value As T) As IImmutableList(Of T)

参数

value
T

要添加到列表的对象。

返回

添加了对象的新列表。

适用于