ImmutableList<T>.Add(T) Method

Definition

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)

Parameters

value
T

The object to add.

Returns

ImmutableList<T>

A new immutable list with the object added.

Applies to