ULocale.GetISO3Country(String) Method

Definition

<strong>[icu]</strong> Returns a three-letter abbreviation for this locale's country/region.

[Android.Runtime.Register("getISO3Country", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetISO3Country (string? localeID);
[<Android.Runtime.Register("getISO3Country", "(Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetISO3Country : string -> string

Parameters

localeID
String

Returns

Attributes

Remarks

<strong>[icu]</strong> Returns a three-letter abbreviation for this locale's country/region. If the locale doesn't specify a country, returns the empty string. Otherwise, returns an uppercase ISO 3166 3-letter country code.

Java documentation for android.icu.util.ULocale.getISO3Country(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.

Applies to