Export (0) Print
Expand All

ImmutableHashSet<T>.Except Method

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

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

public ImmutableHashSet<T> Except(
	IEnumerable<T> other
)

Parameters

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

The collection of items to remove from this set.

Return Value

Type: System.Collections.Immutable.ImmutableHashSet<T>
A new set with the items removed; or the original set if none of the items were in the set.
Show:
© 2014 Microsoft