IImmutableList<T>.Add(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes a copy of the list, and adds the specified object to the end of the copied list.
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)
Parameters
- value
- T
The object to add to the list.
Returns
A new list with the object added.