ImmutableSortedSet<T>::Union Method (IEnumerable<T>^)

 

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
)

Parameters

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.

Return to top
Show: