Thetype exposes the following members.
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.(Overrides ObjectEquals(Object).)
Overridden to ensure consistency with Equals.(Overrides ObjectGetHashCode.)
Returns a non-null LongLatLocation object with the specified longitude and latitude position.
Returns a non-null 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.
Returns a non-null StationIdLocation object with the specified weather station ID.
To create a Location object you can use the static factory methods of this class. For example:
Location losAngelesAirportWeatherStation = Location.StationId("KLAX"); Location empireStateBuilding = Location.PostalCode("10118", "US"); Location trafalgarSquare = Location.LongLat(new LongLat(-0.12795, 51.50766));
Dim losAngelesAirportWeatherStation As Location = Location.StationId("KLAX") Dim empireStateBuilding As Location = Location.PostalCode("10118", "US") Dim trafalgarSquare As Location = Location.LongLat(New LongLat(-0.12795, 51.50766))
empireStateBuilding and trafalgarSquare are examples of geographic locations, which provide a powerful way to get data for locations around the world. See GeographicLocation for more on how these geographic locations work.
This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.