Partager via


Boolean.LogicalXor(Boolean, Boolean) Method

Definition

Returns the result of applying the logical XOR operator to the specified boolean operands.

[Android.Runtime.Register("logicalXor", "(ZZ)Z", "", ApiSince=24)]
public static bool LogicalXor (bool a, bool b);
[<Android.Runtime.Register("logicalXor", "(ZZ)Z", "", ApiSince=24)>]
static member LogicalXor : bool * bool -> bool

Parameters

a
Boolean

the first operand

b
Boolean

the second operand

Returns

the logical XOR of a and b

Attributes

Remarks

Returns the result of applying the logical XOR operator to the specified boolean operands.

Added in 1.8.

Java documentation for java.lang.Boolean.logicalXor(boolean, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to