共用方式為


Boolean.LogicalAnd(Boolean, Boolean) Method

Definition

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

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

Parameters

a
Boolean

the first operand

b
Boolean

the second operand

Returns

the logical AND of a and b

Attributes

Remarks

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

Added in 1.8.

Java documentation for java.lang.Boolean.logicalAnd(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