Course Property
Collapse the table of content
Expand the table of content

GeoCoordinate.Course Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the heading in degrees, relative to true north. GeoCoordinate.

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)
XMLNS for XAML: Not mapped to an xmlns.

public double Course { get; set; }
<object Course="double" .../>

Property Value

Type: System.Double
Type: Double. The course of the GeoCoordinate.

The course value must be between 0.0 and 360.0, and Double.NaN if the heading is not defined.

Setting this property may throw one of the following exceptions.

ArgumentOutOfRangeException

The argument must be in the range 0.0 to 360.0.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft