Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Add Method

ImmutableList<T>.Add Method

Adds the specified object to the end of the immutable list.

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

public ImmutableList<T> Add(
	T value
)

Parameters

value
Type: T

The object to add.

Return Value

Type: System.Collections.Immutable.ImmutableList<T>
A new immutable list with the object added, or the current list if it already contains the specified object.
Show:
© 2015 Microsoft