Compartir a través de


ULocale.GetDisplayKeyword Method

Definition

Overloads

GetDisplayKeyword(String, String)

<strong>[icu]</strong> Returns a keyword localized for display in the specified locale.

GetDisplayKeyword(String, ULocale)

<strong>[icu]</strong> Returns a keyword localized for display in the specified locale.

GetDisplayKeyword(String)

<strong>[icu]</strong> Returns a keyword localized for display in the default DISPLAY locale.

GetDisplayKeyword(String, String)

<strong>[icu]</strong> Returns a keyword localized for display in the specified locale.

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

Parameters

keyword
String

the keyword to be displayed.

displayLocaleID
String

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

Returns

the localized keyword name.

Attributes

Remarks

<strong>[icu]</strong> Returns a keyword localized for display in the specified locale.

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

GetDisplayKeyword(String, ULocale)

<strong>[icu]</strong> Returns a keyword localized for display in the specified locale.

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

Parameters

keyword
String

the keyword to be displayed.

displayLocale
ULocale

the locale in which to display the keyword.

Returns

the localized keyword name.

Attributes

Remarks

<strong>[icu]</strong> Returns a keyword localized for display in the specified locale.

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

GetDisplayKeyword(String)

<strong>[icu]</strong> Returns a keyword localized for display in the default DISPLAY locale.

[Android.Runtime.Register("getDisplayKeyword", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetDisplayKeyword (string? keyword);
[<Android.Runtime.Register("getDisplayKeyword", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetDisplayKeyword : string -> string

Parameters

keyword
String

the keyword to be displayed.

Returns

the localized keyword name.

Attributes

Remarks

<strong>[icu]</strong> Returns a keyword localized for display in the default DISPLAY locale.

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