ULocale.GetKeywordValue Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
<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
.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 |
<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
.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 |