Export (0) Print
Expand All

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.

  Name Description
Location Overloaded. Initializes a new instance of the Location structure.
Top

  Name Description
public field static MaxLatitude Specifies the maximum latitude in degrees.
public field static MaxLongitude Specifies the maximum longitude in degrees.
public field static MinLatitude Specifies the minimum latitude in degrees.
public field static MinLongitude Specifies the minimum longitude in degrees.
Top

  Name Description
public property Altitude Gets or sets the altitude of the location.
public property AltitudeReference Gets or sets the reference plane used to measure the altitude.
public property Latitude Gets or sets the latitude of the location.
public property Longitude Gets or sets the longitude of the location.
Top

(see also Protected Methods)
 NameDescription
public methodEqualsOverridden. Determines whether this location is the same as the given object.
public methodGetHashCodeOverridden. Retrieves the hash code for this location.
public methodGetType  (inherited from Object)
public methodstaticNormalizeLongitudeConverts an invalid longitude value to be within the valid range, which is -180 to 180.
public methodstaticEqualityDetermines whether two instances of Location are equal.
public methodstaticInequalityDetermines whether two instances of Location are not equal.
public methodToStringOverloaded. Overridden. Converts the location to a formatted string containing the latitude, longitude, and altitude values.
Top

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)
Top

  Name Description
ToString Converts the location to a formatted string containing the latitude, longitude, and altitude using an explicitly defined IFormattable.ToString implementation.
Top
Show:
© 2015 Microsoft