다음을 통해 공유


Collator.GetDisplayName Method

Definition

Overloads

GetDisplayName(ULocale)

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the default DISPLAY locale.

GetDisplayName(Locale)

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the default DISPLAY locale.

GetDisplayName(ULocale, ULocale)

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the displayLocale.

GetDisplayName(Locale, Locale)

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the displayLocale.

GetDisplayName(ULocale)

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the default DISPLAY locale.

[Android.Runtime.Register("getDisplayName", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayName (Android.Icu.Util.ULocale? objectLocale);
[<Android.Runtime.Register("getDisplayName", "(Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayName : Android.Icu.Util.ULocale -> string

Parameters

objectLocale
ULocale

the locale of the collator

Returns

the display name

Attributes

Remarks

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the default DISPLAY locale.

Java documentation for android.icu.text.Collator.getDisplayName(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.

Applies to

GetDisplayName(Locale)

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the default DISPLAY locale.

[Android.Runtime.Register("getDisplayName", "(Ljava/util/Locale;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayName (Java.Util.Locale? objectLocale);
[<Android.Runtime.Register("getDisplayName", "(Ljava/util/Locale;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayName : Java.Util.Locale -> string

Parameters

objectLocale
Locale

the locale of the collator

Returns

the display name

Attributes

Remarks

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the default DISPLAY locale.

Java documentation for android.icu.text.Collator.getDisplayName(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

GetDisplayName(ULocale, ULocale)

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the displayLocale.

[Android.Runtime.Register("getDisplayName", "(Landroid/icu/util/ULocale;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayName (Android.Icu.Util.ULocale? objectLocale, Android.Icu.Util.ULocale? displayLocale);
[<Android.Runtime.Register("getDisplayName", "(Landroid/icu/util/ULocale;Landroid/icu/util/ULocale;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayName : Android.Icu.Util.ULocale * Android.Icu.Util.ULocale -> string

Parameters

objectLocale
ULocale

the locale of the collator

displayLocale
ULocale

the locale for the collator's display name

Returns

the display name

Attributes

Remarks

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the displayLocale.

Java documentation for android.icu.text.Collator.getDisplayName(android.icu.util.ULocale, 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.

Applies to

GetDisplayName(Locale, Locale)

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the displayLocale.

[Android.Runtime.Register("getDisplayName", "(Ljava/util/Locale;Ljava/util/Locale;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayName (Java.Util.Locale? objectLocale, Java.Util.Locale? displayLocale);
[<Android.Runtime.Register("getDisplayName", "(Ljava/util/Locale;Ljava/util/Locale;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayName : Java.Util.Locale * Java.Util.Locale -> string

Parameters

objectLocale
Locale

the locale of the collator

displayLocale
Locale

the locale for the collator's display name

Returns

the display name

Attributes

Remarks

<strong>[icu]</strong> Returns the name of the collator for the objectLocale, localized for the displayLocale.

Java documentation for android.icu.text.Collator.getDisplayName(java.util.Locale, 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