This documentation is archived and is not being maintained.
GeoCoordinate Class
Visual Studio 2010
Represents a geographical location that is determined by latitude and longitude coordinates. May also include altitude, accuracy, speed, and course information.
Assembly: System.Device (in System.Device.dll)
The GeoCoordinate type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | GeoCoordinate() | Initializes a new instance of GeoCoordinate that has no data fields set. |
![]() | GeoCoordinate(Double, Double) | Initializes a new instance of the GeoCoordinate class from latitude and longitude data. |
![]() | GeoCoordinate(Double, Double, Double) | Initializes a new instance of the GeoCoordinate class from latitude, longitude, and altitude data. |
![]() | GeoCoordinate(Double, Double, Double, Double, Double, Double, Double) | Initializes a new instance of the GeoCoordinate class from latitude, longitude, altitude, horizontal accuracy, vertical accuracy, speed, and course. |
| Name | Description | |
|---|---|---|
![]() | Altitude | Gets the altitude of the GeoCoordinate, in meters. |
![]() | Course | Gets or sets the heading in degrees, relative to true north. |
![]() | HorizontalAccuracy | Gets or sets the accuracy of the latitude and longitude that is given by the GeoCoordinate, in meters. |
![]() | IsUnknown | Gets a value that indicates whether the GeoCoordinate does not contain latitude or longitude data. |
![]() | Latitude | Gets or sets the latitude of the GeoCoordinate. |
![]() | Longitude | Gets or sets the longitude of the GeoCoordinate. |
![]() | Speed | Gets or sets the speed in meters per second. |
![]() | VerticalAccuracy | Gets or sets the accuracy of the altitude given by the GeoCoordinate, in meters. |
| Name | Description | |
|---|---|---|
![]() | Equals(GeoCoordinate) | Determines if the GeoCoordinate object is equivalent to the parameter, based solely on latitude and longitude. |
![]() | Equals(Object) | Determines if a specified GeoCoordinate is equal to the current GeoCoordinate, based solely on latitude and longitude. (Overrides Object::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDistanceTo | Returns the distance between the latitude and longitude coordinates that are specified by this GeoCoordinate and another specified GeoCoordinate. |
![]() | GetHashCode | Serves as a hash function for the GeoCoordinate. (Overrides Object::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that contains the latitude and longitude. (Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Determines whether two GeoCoordinate objects refer to the same location. |
![]() ![]() | Inequality | Determines whether two GeoCoordinate objects correspond to different locations. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:





