Performs an "exclusive-or" of the two sets, keeping only the elements that are in one of the sets, but not in both. The original sets are not modified during this operation. The result set is a clone of one of the sets (a if it is not nullNothingnullptra null reference (Nothing in Visual Basic)) containing the elements from the exclusive-or 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 ExclusiveOr(
	ISet a,
	ISet b
)
Visual Basic
Public Shared Function ExclusiveOr ( _
	a As ISet, _
	b As ISet _
) As ISet
Visual C++
public:
static ISet^ ExclusiveOr(
	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 the result of a ^ b. nullNothingnullptra null reference (Nothing in Visual Basic) if both sets are nullNothingnullptra null reference (Nothing in Visual Basic).

See Also