ULocale.CreateCanonical 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
CreateCanonical(ULocale) |
Creates a ULocale from the locale by first canonicalizing the locale according to CLDR. |
CreateCanonical(String) |
<strong>[icu]</strong> Creates a ULocale from the id by first canonicalizing the id according to CLDR. |
CreateCanonical(ULocale)
Creates a ULocale from the locale by first canonicalizing the locale according to CLDR.
[Android.Runtime.Register("createCanonical", "(Landroid/icu/util/ULocale;)Landroid/icu/util/ULocale;", "", ApiSince=33)]
public static Android.Icu.Util.ULocale? CreateCanonical (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("createCanonical", "(Landroid/icu/util/ULocale;)Landroid/icu/util/ULocale;", "", ApiSince=33)>]
static member CreateCanonical : Android.Icu.Util.ULocale -> Android.Icu.Util.ULocale
Parameters
- locale
- ULocale
the ULocale to canonicalize
Returns
the ULocale created from the canonical version of the ULocale.
- Attributes
Remarks
Creates a ULocale from the locale by first canonicalizing the locale according to CLDR.
Java documentation for android.icu.util.ULocale.createCanonical(android.icu.util.ULocale)
.
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
CreateCanonical(String)
<strong>[icu]</strong> Creates a ULocale from the id by first canonicalizing the id according to CLDR.
[Android.Runtime.Register("createCanonical", "(Ljava/lang/String;)Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale? CreateCanonical (string? nonCanonicalID);
[<Android.Runtime.Register("createCanonical", "(Ljava/lang/String;)Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member CreateCanonical : string -> Android.Icu.Util.ULocale
Parameters
- nonCanonicalID
- String
the locale id to canonicalize
Returns
the locale created from the canonical version of the ID.
- Attributes
Remarks
<strong>[icu]</strong> Creates a ULocale from the id by first canonicalizing the id according to CLDR.
Java documentation for android.icu.util.ULocale.createCanonical(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.