Post­Sharp Documentation / 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: 5.0.51.0 (5.0.51.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