-api-id | -api-type |
---|---|
T:Windows.Globalization.GeographicRegion |
winrt class |
Describes a region. This is usually a country, but may be a macroregion.
For a list of standard country/region codes used by Microsoft, see the Official Country/Region List.
// Get the user's geographic region and its display name.
var geographicRegion = new Windows.Globalization.GeographicRegion();
var displayName = geographicRegion.DisplayName;