Partager via


ULocale.GetDisplayScript Method

Definition

Overloads

GetDisplayScript(ULocale)

Returns this locale's script localized for display in the provided locale.

GetDisplayScript(String, ULocale)

<strong>[icu]</strong> Returns a locale's script localized for display in the provided locale.

GetDisplayScript(String, String)

<strong>[icu]</strong> Returns a locale's script localized for display in the provided locale.

GetDisplayScript(ULocale)

Returns this locale's script localized for display in the provided locale.

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

Parameters

displayLocale
ULocale

the locale in which to display the name.

Returns

the localized script name.

Attributes

Remarks

Returns this locale's script localized for display in the provided locale.

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

GetDisplayScript(String, ULocale)

<strong>[icu]</strong> Returns a locale's script localized for display in the provided locale.

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

Parameters

localeID
String

the id of the locale whose script will be displayed.

displayLocale
ULocale

the locale in which to display the name.

Returns

the localized script name.

Attributes

Remarks

<strong>[icu]</strong> Returns a locale's script localized for display in the provided locale.

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

GetDisplayScript(String, String)

<strong>[icu]</strong> Returns a locale's script localized for display in the provided locale.

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

Parameters

localeID
String

the id of the locale whose script will be displayed

displayLocaleID
String

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

Returns

the localized script name.

Attributes

Remarks

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

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