GeographicRegion Constructors
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.
Overloads
GeographicRegion() |
Creates a GeographicRegion object that defaults to the user's home region. |
GeographicRegion(String) |
Creates a GeographicRegion object. |
GeographicRegion()
Creates a GeographicRegion object that defaults to the user's home region.
public:
GeographicRegion();
GeographicRegion();
public GeographicRegion();
function GeographicRegion()
Public Sub New ()
See also
Applies to
GeographicRegion(String)
Creates a GeographicRegion object.
public:
GeographicRegion(Platform::String ^ geographicRegionCode);
GeographicRegion(winrt::hstring const& geographicRegionCode);
public GeographicRegion(string geographicRegionCode);
function GeographicRegion(geographicRegionCode)
Public Sub New (geographicRegionCode As String)
Parameters
- geographicRegionCode
-
String
Platform::String
winrt::hstring
One of the ISO 3166-1 two-letter or three-letter codes that identify the country, or one of the three-digit UN-M49 codes that identify the geographical region.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for