PostSharp4.3//API Reference/Post­Sharp.​Patterns.​Collections Namespace/Advisable­Hash­Set(T) Class/Advisable­Hash­Set(T) Methods/Advisable­Hash­Set(T).​Except­With Method
AdvisableHashSet<T>.ExceptWith Method
Removes all elements in the specified collection from the current set.

Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public void ExceptWith(
	IEnumerable<T> other
)

Parameters

other
Type: System.Collections.Generic.IEnumerable<T>
The collection of items to remove from the set.

Implements

ISet<T>.ExceptWith(IEnumerable<T>)
Exceptions
ExceptionCondition
ArgumentNullExceptionother is null.
See Also