Share via


ULocale.GetISOCountries Method

Definition

Returns a list of all 2-letter country codes defined in ISO 3166.

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

Returns

String[]
Attributes

Remarks

Returns a list of all 2-letter country codes defined in ISO 3166. Can be used to create Locales.

Java documentation for android.icu.util.ULocale.getISOCountries().

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