Postal |
The PostalCodeLocation type exposes the following members.
Name | Description | |
---|---|---|
PostalCodeLocation | Constructs a PostalCodeLocation object with a postal code (or zip code, post code, or postcode) and a two-letter country code representing the country that the postal code belongs to. |
Name | Description | |
---|---|---|
CountryCode | Gets the non-null two-letter upper-case ISO 3166-1-alpha-2 country code of the country that the postal code belongs to. | |
PostalCode | Gets the non-null, non-empty postal code (or zip code, post code, or postcode - the terminology depends on the country). |
Name | Description | |
---|---|---|
Equals |
Two Location objects are equal if it can be ascertained that
they both represent the exact same weather station(s) or geographic
location, and that two requests for data, one with each
Location and identical in every other respect, would return
identical data.
(Inherited from Location) | |
GetHashCode |
Overridden to ensure consistency with Equals.
(Inherited from Location) | |
ToString |
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString) |
The API servers will attempt to find the longitude/latitude location of the specified postal code, and from that point on will treat the location as if it were a LongLatLocation (see the notes for that class for more relevant information).