共用方式為


Locale.HasExtensions Property

Definition

Returns true if this Locale has any extensions.

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

Property Value

true if this Locale has any extensions

Attributes

Remarks

Returns true if this Locale has any extensions.

Added in 1.8.

Java documentation for java.util.Locale.hasExtensions().

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