ULocale.DisplayCountry Property
Definition
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 this locale's country localized for display in the default DISPLAY
locale.
public string? DisplayCountry { [Android.Runtime.Register("getDisplayCountry", "()Ljava/lang/String;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getDisplayCountry", "()Ljava/lang/String;", "", ApiSince=24)>]
member this.DisplayCountry : string
Property Value
the localized country name.
- Attributes
Remarks
Returns this locale's country localized for display in the default DISPLAY
locale. <b>Warning: </b>this is for the region part of a valid locale ID; it cannot just be the region code (like "FR"). To get the display name for a region alone, or for other options, use LocaleDisplayNames
instead.
Java documentation for android.icu.util.ULocale.getDisplayCountry()
.
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.