This document is archived and information here might be outdated.  Recommended version.


INARouteSolver.UseTimeWindows Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INARouteSolver Interface > INARouteSolver.UseTimeWindows Property
ArcGIS Developer Help

INARouteSolver.UseTimeWindows Property

Indicates if the solver should consider time windows.

[Visual Basic .NET]
Public Property UseTimeWindows As Boolean
[C#]
public bool UseTimeWindows {get; set;}
[C++]
HRESULT get_UseTimeWindows(
  Boolean* Value
);
[C++]
HRESULT put_UseTimeWindows(
  VARIANT_BOOL Value
);
[C++]
Parameters
Value [out, retval]

Value is a parameter of type bool* Value [in]
Value is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

UseTimeWindows allows the use of time windows on individual stops. The route solver will change the sequence of the stops to satisfy the time windows. This is done regardless of settings for FindBestSequence.

See Also

INARouteSolver Interface

.NET Samples

ArcGIS Network Analyst extension Engine application