MessageFormat.Locale Property

Definition

Gets the locale that's used when creating or comparing subformats. -or- Sets the locale to be used when creating or comparing subformats.

public virtual Java.Util.Locale? Locale { [Android.Runtime.Register("getLocale", "()Ljava/util/Locale;", "GetGetLocaleHandler")] get; [Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler")] set; }
[<get: Android.Runtime.Register("getLocale", "()Ljava/util/Locale;", "GetGetLocaleHandler")>]
[<set: Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler")>]
member this.Locale : Java.Util.Locale with get, set

Property Value

Locale

the locale used when creating or comparing subformats

Attributes

Remarks

Property getter documentation:

Java documentation for java.text.MessageFormat.getLocale().

Property setter documentation:

Java documentation for java.text.MessageFormat.setLocale(java.util.Locale).

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