Lue englanniksi

Jaa


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.

C#
[Android.Runtime.Register("getKeywordValue", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public string? GetKeywordValue (string? keywordName);

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

.NET for Android .NET for Android API 35 ja .NET for Android .NET for Android API 34
Tuote Versiot
.NET for Android .NET for Android API 34, .NET for Android API 35

GetKeywordValue(String, String)

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

C#
[Android.Runtime.Register("getKeywordValue", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetKeywordValue (string? localeID, string? keywordName);

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

.NET for Android .NET for Android API 35 ja .NET for Android .NET for Android API 34
Tuote Versiot
.NET for Android .NET for Android API 34, .NET for Android API 35