Location Class

Definition

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

public class Location
Inheritance
Location

Constructors

Location(​String, ​String)

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

Properties

Country

Gets or sets the country code.

State​Province

Gets or sets the state/province code.

Methods

Parse​Xml(​XPath​Navigator)

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

To​String()

Gets a string representation of the location.

Write​Xml(​Xml​Writer, ​String)

Writes the location to the specified XmlWriter.