ImmutableList<T>.Add(T) 方法
定义
将指定的对象添加到不可变列表末尾。Adds the specified object to the end of the immutable list.
public:
System::Collections::Immutable::ImmutableList<T> ^ Add(T value);
public System.Collections.Immutable.ImmutableList<T> Add (T value);
member this.Add : 'T -> System.Collections.Immutable.ImmutableList<'T>
Public Function Add (value As T) As ImmutableList(Of T)
参数
- value
- T
要添加的对象。The object to add.
返回
已添加对象的新不可变列表。A new immutable list with the object added.