ULocale.GetUnicodeLocaleType(String) 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.
Returns the Unicode locale type associated with the specified Unicode locale key for this locale.
[Android.Runtime.Register("getUnicodeLocaleType", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public string? GetUnicodeLocaleType (string? key);
[<Android.Runtime.Register("getUnicodeLocaleType", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
member this.GetUnicodeLocaleType : string -> string
- key
- String
the Unicode locale key
The Unicode locale type associated with the key, or null if the locale does not define the key.
- Attributes
Returns the Unicode locale type associated with the specified Unicode locale key for this locale. Returns the empty string for keys that are defined with no type. Returns null if the key is not defined. Keys are case-insensitive. The key must be two alphanumeric characters ([0-9a-zA-Z]), or an IllegalArgumentException is thrown.
Java documentation for android.icu.util.ULocale.getUnicodeLocaleType(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.
Tuote | Versiot |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |