Location Location Location Class

Definition

A location defined by country and state/province ISO 3166 codes.

public class Location
type Location = class
Public Class Location
Inheritance
LocationLocationLocation

Constructors

Location(String, String) Location(String, String) Location(String, String)

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

Properties

Country Country Country

Gets or sets the country/region code.

StateProvince StateProvince StateProvince

Gets or sets the state/province code.

Methods

ParseXml(XPathNavigator) ParseXml(XPathNavigator) ParseXml(XPathNavigator)

Parses the location XML and populates the instance properties from the results.

ToString() ToString() ToString()

Gets a string representation of the location.

WriteXml(XmlWriter, String) WriteXml(XmlWriter, String) WriteXml(XmlWriter, String)

Writes the location to the specified XmlWriter.

Applies to