共用方式為


Locale.StripExtensions Method

Definition

Returns a copy of this Locale with no extensions.

[Android.Runtime.Register("stripExtensions", "()Ljava/util/Locale;", "", ApiSince=26)]
public Java.Util.Locale StripExtensions ();
[<Android.Runtime.Register("stripExtensions", "()Ljava/util/Locale;", "", ApiSince=26)>]
member this.StripExtensions : unit -> Java.Util.Locale

Returns

a copy of this Locale with no extensions, or this if this has no extensions

Attributes

Remarks

Returns a copy of this Locale with no extensions. If this Locale has no extensions, this Locale is returned.

Added in 1.8.

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

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