Operators.XorObject(Object, Object) Method

Definition

Represents the Visual Basic Xor operator.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::Object ^ XorObject(System::Object ^ Left, System::Object ^ Right);
public static object XorObject (object Left, object Right);
public static object? XorObject (object? Left, object? Right);
static member XorObject : obj * obj -> obj
Public Shared Function XorObject (Left As Object, Right As Object) As Object

Parameters

Left
Object

Required. Any Boolean or numeric expression.

Right
Object

Required. Any Boolean or numeric expression.

Returns

A Boolean or numeric value. For a Boolean comparison, the return value is the logical exclusion (exclusive logical disjunction) of two Boolean values. For bitwise (numeric) operations, the return value is a numeric value that represents the bitwise exclusion (exclusive bitwise disjunction) of two numeric bit patterns. For more information, see Xor Operator.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to

See also