Location Constructor

HealthVault
Constructs a location instance with the specified country and state/province codes.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

public Location(
	string country,
	string stateProvince
)

Parameters

country
Type: System..::..String
An ISO 3166-1 two-letter country code.
stateProvince
Type: System..::..String
An ISO 3166-2 state/province code without the country prefix.
Show: