Location Members


The Location type exposes the following members.

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

Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ParseXml
Parses the location XML and populates the instance properties from the results.
Public method ToString
Gets a string representation of the location.
(Overrides Object..::..ToString()()()().)
Public method WriteXml
Writes the location to the specified XmlWriter.

Public property Country
Gets or sets the country code.
Public property StateProvince
Gets or sets the state/province code.