ImmutableHashSet<T>.ISet<T>.UnionWith Method (IEnumerable<T>)


Modifies the current set so that it contains all elements that are present in either the current set or in the specified collection.

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

void ISet<T>.UnionWith(
	IEnumerable<T> other


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

The collection to compare to the current set.

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

Return to top