Freigeben über


Collator.Instance Property

Definition

Returns the Collator for the current default locale.

public static Android.Icu.Text.Collator? Instance { [Android.Runtime.Register("getInstance", "()Landroid/icu/text/Collator;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getInstance", "()Landroid/icu/text/Collator;", "", ApiSince=24)>]
static member Instance : Android.Icu.Text.Collator

Property Value

the Collator for the default locale (for example, en_US) if it is created successfully. Otherwise if there is no Collator associated with the current locale, the root collator will be returned.

Attributes

Remarks

Returns the Collator for the current default locale. The default locale is determined by java.util.Locale.getDefault().

Java documentation for android.icu.text.Collator.getInstance().

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