Collator.GetFunctionalEquivalent 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.
Overloads
GetFunctionalEquivalent(String, ULocale, Boolean[]) |
<strong>[icu]</strong> Returns the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service. |
GetFunctionalEquivalent(String, ULocale) |
<strong>[icu]</strong> Returns the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service. |
GetFunctionalEquivalent(String, ULocale, Boolean[])
<strong>[icu]</strong> Returns the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service.
[Android.Runtime.Register("getFunctionalEquivalent", "(Ljava/lang/String;Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale? GetFunctionalEquivalent (string? keyword, Android.Icu.Util.ULocale? locID, bool[]? isAvailable);
[<Android.Runtime.Register("getFunctionalEquivalent", "(Ljava/lang/String;Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member GetFunctionalEquivalent : string * Android.Icu.Util.ULocale * bool[] -> Android.Icu.Util.ULocale
Parameters
- keyword
- String
a particular keyword as enumerated by getKeywords.
- locID
- ULocale
The requested locale
- isAvailable
- Boolean[]
If non-null, isAvailable[0] will receive and output boolean that indicates whether the requested locale was 'available' to the collation service. If non-null, isAvailable must have length >= 1.
Returns
the locale
- Attributes
Remarks
<strong>[icu]</strong> Returns the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service. If two locales return the same result, then collators instantiated for these locales will behave equivalently. The converse is not always true; two collators may in fact be equivalent, but return different results, due to internal details. The return result has no other meaning than that stated above, and implies nothing as to the relationship between the two locales. This is intended for use by applications who wish to cache collators, or otherwise reuse collators when possible. The functional equivalent may change over time. For more information, please see the Locales and Services section of the ICU User Guide.
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
GetFunctionalEquivalent(String, ULocale)
<strong>[icu]</strong> Returns the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service.
[Android.Runtime.Register("getFunctionalEquivalent", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale? GetFunctionalEquivalent (string? keyword, Android.Icu.Util.ULocale? locID);
[<Android.Runtime.Register("getFunctionalEquivalent", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member GetFunctionalEquivalent : string * Android.Icu.Util.ULocale -> Android.Icu.Util.ULocale
Parameters
- keyword
- String
a particular keyword as enumerated by getKeywords.
- locID
- ULocale
The requested locale
Returns
the locale
- Attributes
Remarks
<strong>[icu]</strong> Returns the functionally equivalent locale for the given requested locale, with respect to given keyword, for the collation service.
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.