GuidanceRoadSegment.TravelTime Property

Definition

Gets the travel time of the road segment.

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 TimeSpan TravelTime { TimeSpan get(); };
TimeSpan TravelTime();
public System.TimeSpan TravelTime { get; }
var timeSpan = guidanceRoadSegment.travelTime;
Public ReadOnly Property TravelTime As TimeSpan

Property Value

The travel time of the road segment.

Applies to