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

 

Returns a copy of the original array with the specified item added to the end.

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 to the end of the array.

Return Value

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

A new array with the specified item added to the end.

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

Return to top
Show: