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 this set containing the elements from the exclusive-or operation.

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

Syntax

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

Parameters

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

Return Value

A set containing the result of a ^ b.

Implements

ISet<(Of <(<'T>)>)>..::..ExclusiveOr(ISet<(Of <<'(T>)>>))

See Also