Location Members
This documentation is no longer available on MSDN, however it is available as a CHM download.
Contains the altitude and coordinate values of a location on the map.
The following tables list the members exposed by the Location type.
Public Constructors
Name | Description | |
---|---|---|
Location | Overloaded. Initializes a new instance of the Location structure. |
Top
Public Fields
Name | Description | |
---|---|---|
MaxLatitude | Specifies the maximum latitude in degrees. | |
MaxLongitude | Specifies the maximum longitude in degrees. | |
MinLatitude | Specifies the minimum latitude in degrees. | |
MinLongitude | Specifies the minimum longitude in degrees. |
Top
Public Properties
Name | Description | |
---|---|---|
Altitude | Gets or sets the altitude of the location. | |
AltitudeReference | Gets or sets the reference plane used to measure the altitude. | |
Latitude | Gets or sets the latitude of the location. | |
Longitude | Gets or sets the longitude of the location. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Equals | Overridden. Determines whether this location is the same as the given object. | |
GetHashCode | Overridden. Retrieves the hash code for this location. | |
GetType | (inherited from Object) | |
NormalizeLongitude | Converts an invalid longitude value to be within the valid range, which is -180 to 180. | |
Equality | Determines whether two instances of Location are equal. | |
Inequality | Determines whether two instances of Location are not equal. | |
ToString | Overloaded. Overridden. Converts the location to a formatted string containing the latitude, longitude, and altitude values. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object) | |
MemberwiseClone | (inherited from Object) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ToString | Converts the location to a formatted string containing the latitude, longitude, and altitude using an explicitly defined IFormattable.ToString implementation. |
Top