Except Method

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

 

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.

Return to top
Show:
© 2016 Microsoft