SqlBoolean.ExclusiveOr Operator (SqlBoolean, SqlBoolean)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.


Performs a bitwise exclusive-OR (XOR) operation on the supplied parameters.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlBoolean operator ^(
	SqlBoolean x,
	SqlBoolean y

Return Value

Type: System.Data.SqlTypes.SqlBoolean

The result of the logical XOR operation.

.NET Framework
Available since 1.1
Return to top