ULocale.GetDisplayName Method

Definition

Overloads

GetDisplayName(ULocale)

Returns this locale name localized for display in the provided locale.

GetDisplayName(String, ULocale)

<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale.

GetDisplayName(String, String)

<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale.

GetDisplayName(ULocale)

Returns this locale name localized for display in the provided locale.

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

Parameters

displayLocale
ULocale

the locale in which to display the locale name.

Returns

the localized locale name.

Attributes

Remarks

Returns this locale name localized for display in the provided locale.

Java documentation for android.icu.util.ULocale.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(String, ULocale)

<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale.

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

Parameters

localeID
String

the locale whose name is to be displayed.

displayLocale
ULocale

the locale in which to display the locale name.

Returns

the localized locale name.

Attributes

Remarks

<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale. This is a cover for the ICU4C API.

Java documentation for android.icu.util.ULocale.getDisplayName(java.lang.String, 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(String, String)

<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale.

[Android.Runtime.Register("getDisplayName", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayName (string? localeID, string? displayLocaleID);
[<Android.Runtime.Register("getDisplayName", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayName : string * string -> string

Parameters

localeID
String

the locale whose name is to be displayed.

displayLocaleID
String

the id of the locale in which to display the locale name.

Returns

the localized locale name.

Attributes

Remarks

<strong>[icu]</strong> Returns the locale ID localized for display in the provided locale. This is a cover for the ICU4C API.

Java documentation for android.icu.util.ULocale.getDisplayName(java.lang.String, java.lang.String).

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