ULocale.GetFallback(String) 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> Returns the fallback locale for the specified locale, which might be the empty string.
[Android.Runtime.Register("getFallback", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetFallback(string? localeID);
[<Android.Runtime.Register("getFallback", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetFallback : string -> string
Parameters
- localeID
- String
The locale identifier to examine.
Returns
The fallback locale identifier formed by removing the last base-name component while retaining keywords; the base name can become empty.
- Attributes
Remarks
<strong>[icu]</strong> Returns the fallback locale for the specified locale, which might be the empty string.
Java documentation for android.icu.util.ULocale.getFallback(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.