Redigera

Dela via


ObjectType.XorObj(Object, Object) Method

Definition

Performs an Xor comparison.

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

public:
 static System::Object ^ XorObj(System::Object ^ obj1, System::Object ^ obj2);
public static object XorObj (object? obj1, object? obj2);
public static object XorObj (object obj1, object obj2);
static member XorObj : obj * obj -> obj
Public Shared Function XorObj (obj1 As Object, obj2 As Object) As Object

Parameters

obj1
Object

Required. Any Boolean or numeric expression.

obj2
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