共用方式為


Boolean.BooleanValue Method

Definition

Returns the value of this Boolean object as a boolean primitive.

[Android.Runtime.Register("booleanValue", "()Z", "")]
public bool BooleanValue ();
[<Android.Runtime.Register("booleanValue", "()Z", "")>]
member this.BooleanValue : unit -> bool

Returns

the primitive boolean value of this object.

Attributes

Remarks

Returns the value of this Boolean object as a boolean primitive.

Java documentation for java.lang.Boolean.booleanValue().

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