ImmutableList<T>::IImmutableList<T>::Add Method (T)

 

Adds the specified value to this immutable list.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

private:
virtual IImmutableList<T>^ Add(
	T value
) sealed = IImmutableList<T>::Add

Parameters

value
Type: T

The value to add.

Return Value

Type: System.Collections.Immutable::IImmutableList<T>^

A new list with the element added, or this list if the element is already in the list.

This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an IImmutableList<T> interface.

Return to top
Show: