Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ImmutableSortedSet<T>.Union Method

Adds a given set of items to this immutable sorted set.

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

public ImmutableSortedSet<T> Union(
	IEnumerable<T> other


Type: System.Collections.Generic.IEnumerable<T>

The items to add.

Return Value

Type: System.Collections.Immutable.ImmutableSortedSet<T>
The new set with the items added; or the original set if all the items were already in the set.
© 2015 Microsoft