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


INARouteSolver.UseTimeWindows Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

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(
  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

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 (Code Files: frmNALayerProperties)