NullableTypes Class Library | |
NullableBoolean.Xor Method
Performs a bitwise exclusive-OR operation on the supplied parameters.
[Visual Basic]<Obsolete(Message="Xor definition is not intuitive, is ambiguous and is not defined by the NULL semantic. Use explicit expression ((x || y) && !(x && y)) instead of Xor.", IsError="False")>
Public Shared Function Xor( _
ByVal
x As
NullableBoolean, _
ByVal
y As
NullableBoolean _
) As
NullableBoolean [C#][Obsolete(Message="Xor definition is not intuitive, is ambiguous and is not defined by the NULL semantic. Use explicit expression ((x || y) && !(x && y)) instead of Xor.", IsError="False")]
public static
NullableBoolean Xor(
NullableBoolean x,
NullableBoolean y);
Parameters
- x
- A NullableBoolean structure.
- y
- A NullableBoolean structure.
Return Value
Null if either instance of NullableBoolean is
Null otherwise the result of the logical XOR operation.
See Also
NullableBoolean Class | NullableTypes Namespace