Collator.GetKeywordValuesForLocale(String, ULocale, Boolean) Method
Definition
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.
<strong>[icu]</strong> Given a key and a locale, returns an array of string values in a preferred order that would make a difference.
[Android.Runtime.Register("getKeywordValuesForLocale", "(Ljava/lang/String;Landroid/icu/util/ULocale;Z)[Ljava/lang/String;", "", ApiSince=24)]
public static string[]? GetKeywordValuesForLocale (string? key, Android.Icu.Util.ULocale? locale, bool commonlyUsed);
[<Android.Runtime.Register("getKeywordValuesForLocale", "(Ljava/lang/String;Landroid/icu/util/ULocale;Z)[Ljava/lang/String;", "", ApiSince=24)>]
static member GetKeywordValuesForLocale : string * Android.Icu.Util.ULocale * bool -> string[]
Parameters
- key
- String
one of the keys supported by this service. For now, only "collation" is supported.
- locale
- ULocale
the locale
- commonlyUsed
- Boolean
if set to true it will return only commonly used values with the given locale in preferred order. Otherwise, it will return all the available values for the locale.
Returns
an array of string values for the given key and the locale.
- Attributes
Remarks
<strong>[icu]</strong> Given a key and a locale, returns an array of string values in a preferred order that would make a difference. These are all and only those values where the open (creation) of the service with the locale formed from the input locale plus input keyword and that value has different behavior than creation with the input locale alone.
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.