ImmutableHashSet<T>.IImmutableSet<T>.Except Method (IEnumerable<T>)


Removes the elements in the specified collection from the current set.

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

IImmutableSet<T> IImmutableSet<T>.Except(
	IEnumerable<T> other


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

The collection of items to remove from this set.

Return Value

Type: System.Collections.Immutable.IImmutableSet<T>

A new set with the items removed; or the original set if none of the items were in the set.

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

Return to top