Share via


GeographicRegion Constructors

Definition

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