Share via


MapRouteLeg.DurationWithoutTraffic Property

Definition

Gets the estimated time required to traverse the route without traffic.

public:
 property TimeSpan DurationWithoutTraffic { TimeSpan get(); };
TimeSpan DurationWithoutTraffic();
public System.TimeSpan DurationWithoutTraffic { get; }
var timeSpan = mapRouteLeg.durationWithoutTraffic;
Public ReadOnly Property DurationWithoutTraffic As TimeSpan

Property Value

The estimated time required to traverse the route without traffic.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to