This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INARouteSolver Interface > INARouteSolver.UseTimeWindows Property (ArcObjects .NET 10.4 SDK) |
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(
VARIANT_BOOL* Value
);
[C++]
HRESULT put_UseTimeWindows(
VARIANT_BOOL Value
);
[C++]
Parameters Value [out, retval] Value is a parameter of type VARIANT_BOOL Value [in] Value is a parameter of type VARIANT_BOOL
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.