Location Members
This documentation is no longer available on MSDN, however it is available as a CHM download.
Top
Top
Top
Contains the altitude and coordinate values of a location on the map.
The following tables list the members exposed by the Location type.
| 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. |
| 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. |
(see also Protected Methods)
Top
| 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. |
| Name | Description | |
|---|---|---|
| ToString | Converts the location to a formatted string containing the latitude, longitude, and altitude using an explicitly defined IFormattable.ToString implementation. |
Show: