Compartilhar via


Locale.ISO3Country Property

Definition

Returns a three-letter abbreviation for this locale's country.

public string ISO3Country { [Android.Runtime.Register("getISO3Country", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getISO3Country", "()Ljava/lang/String;", "")>]
member this.ISO3Country : string

Property Value

A three-letter abbreviation of this locale's country.

Attributes

Exceptions

if there's no 3-letter country code for this locale.

Remarks

Returns a three-letter abbreviation for this locale's country. If the country matches an ISO 3166-1 alpha-2 code, the corresponding ISO 3166-1 alpha-3 uppercase code is returned. If the locale doesn't specify a country, this will be the empty string.

The ISO 3166-1 codes can be found on-line.

Java documentation for java.util.Locale.getISO3Country().

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