Share via


GuidanceRoute.Distance Property

Definition

Gets the total distance of the route in meters.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.

public:
 property int Distance { int get(); };
int Distance();
public int Distance { get; }
var int32 = guidanceRoute.distance;
Public ReadOnly Property Distance As Integer

Property Value

Int32

int

The total distance of the route in meters.

Applies to