GuidanceRoute.Distance Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
int
The total distance of the route in meters.