Performs a "minus" of set b from set a. This returns a set of all the elements in set a, removing the elements that are also in set b. The original sets are not modified during this operation. The result set is a Clone() of this Set containing the elements from the operation.

Namespace: Iesi.Collections.Generic
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
public ISet<T> Minus(
	ISet<T> a
)
Visual Basic
Public Function Minus ( _
	a As ISet(Of T) _
) As ISet(Of T)
Visual C++
public:
virtual ISet<T>^ Minus(
	ISet<T>^ a
) sealed

Parameters

a
Type: Iesi.Collections.Generic..::..ISet<(Of <(<'T>)>)>
A set of elements.

Return Value

A set containing the elements from this set with the elements in a removed.

See Also