Freigeben über


Locale.Builder.Build Method

Definition

Returns an instance of Locale created from the fields set on this builder.

[Android.Runtime.Register("build", "()Ljava/util/Locale;", "")]
public Java.Util.Locale Build ();
[<Android.Runtime.Register("build", "()Ljava/util/Locale;", "")>]
member this.Build : unit -> Java.Util.Locale

Returns

A Locale.

Attributes

Remarks

Returns an instance of Locale created from the fields set on this builder.

This applies the conversions listed in Locale#forLanguageTag when constructing a Locale. (Grandfathered tags are handled in #setLanguageTag.)

Java documentation for java.util.Locale.Builder.build().

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