Locale.Country Property

Definition

Returns the country/region code for this locale, which should either be the empty string, an uppercase ISO 3166 2-letter code, or a UN M.

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

Property Value

The country/region code, or the empty string if none is defined.

Attributes

Remarks

Returns the country/region code for this locale, which should either be the empty string, an uppercase ISO 3166 2-letter code, or a UN M.49 3-digit code.

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

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