Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Set Exclusive Or Operator

Performs an "exclusive-or" of the two sets, keeping only those elements that are in one of the sets, but not in both.

[Visual Basic]
Public Shared Operator Xor( _
   ByVal setOne As Set, _
   ByVal anotherSet As Set _
)
[C#]
public static Set operator ^(
   Set setOne,
   Set anotherSet
);

Parameters

setOne
A set of elements.
anotherSet
A set of elements.

Return Value

A set containing the result of setOne ^ anotherSet. a null reference (Nothing in Visual Basic) if both sets are a null reference (Nothing in Visual Basic).

See Also

Set Class | Spring.Collections Namespace | ExclusiveOr