ULocale.GetKeywordValue Method

Definition

Overloads

GetKeywordValue(String)

<strong>[icu]</strong> Returns the value for a keyword in this locale.

GetKeywordValue(String, String)

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

GetKeywordValue(String)

<strong>[icu]</strong> Returns the value for a keyword in this locale.

[Android.Runtime.Register("getKeywordValue", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public string? GetKeywordValue (string? keywordName);
[<Android.Runtime.Register("getKeywordValue", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
member this.GetKeywordValue : string -> string

Parameters

keywordName
String

name of the keyword whose value is desired. Case insensitive.

Returns

the value of the keyword, or null.

Attributes

Remarks

<strong>[icu]</strong> Returns the value for a keyword in this locale. If the keyword is not defined, returns null.

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

GetKeywordValue(String, String)

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

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

Parameters

localeID
String
keywordName
String

name of the keyword whose value is desired. Case insensitive.

Returns

String the value of the keyword as a string

Attributes

Remarks

<strong>[icu]</strong> Returns the value for a keyword in the specified locale. If the keyword is not defined, returns null. The locale name does not need to be normalized.

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