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 set a containing the elements from the operation.

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

Syntax

C#
public static ISet Minus(
	ISet a,
	ISet b
)
Visual Basic
Public Shared Function Minus ( _
	a As ISet, _
	b As ISet _
) As ISet
Visual C++
public:
static ISet^ Minus(
	ISet^ a, 
	ISet^ b
)

Parameters

a
Type: Iesi.Collections..::..ISet
A set of elements.
b
Type: Iesi.Collections..::..ISet
A set of elements.

Return Value

A set containing A - B elements. nullNothingnullptra null reference (Nothing in Visual Basic) if a is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also