MessageFormat.SetLocale(ULocale) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the locale to be used for creating argument Format objects.
[Android.Runtime.Register("setLocale", "(Landroid/icu/util/ULocale;)V", "GetSetLocale_Landroid_icu_util_ULocale_Handler", ApiSince=24)]
public virtual void SetLocale (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("setLocale", "(Landroid/icu/util/ULocale;)V", "GetSetLocale_Landroid_icu_util_ULocale_Handler", ApiSince=24)>]
abstract member SetLocale : Android.Icu.Util.ULocale -> unit
override this.SetLocale : Android.Icu.Util.ULocale -> unit
Parameters
- locale
- ULocale
the locale to be used when creating or comparing subformats
- Attributes
Remarks
Sets the locale to be used for creating argument Format objects. This affects subsequent calls to the #applyPattern applyPattern
method as well as to the format
and #formatToCharacterIterator formatToCharacterIterator
methods.
Java documentation for android.icu.text.MessageFormat.setLocale(android.icu.util.ULocale)
.
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.