Share via


Geocoordinate.Heading Property

Definition

The current heading in degrees relative to true north.

public:
 property IReference<double> ^ Heading { IReference<double> ^ get(); };
IReference<double> Heading();
public System.Nullable<double> Heading { get; }
var iReference = geocoordinate.heading;
Public ReadOnly Property Heading As Nullable(Of Double)

Property Value

The current heading in degrees relative to true north.

Windows requirements

App capabilities
location ID_CAP_LOCATION [Windows Phone]

Remarks

This optional property will be set if it is available. If the property is not available, the value will be NULL or NaN (depending on the operating system version). We recommend that your app checks for both of these possibilities.

Applies to