共用方式為


PackageManager.Property.Boolean Property

Definition

Returns the boolean value set for the property.

public bool Boolean { [Android.Runtime.Register("getBoolean", "()Z", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getBoolean", "()Z", "", ApiSince=31)>]
member this.Boolean : bool

Property Value

Attributes

Remarks

Returns the boolean value set for the property.

If the property is not of a boolean type, returns false.

Java documentation for android.content.pm.PackageManager.Property.getBoolean().

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