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

Network Analyst Engine application (Code Files: frmNALayerProperties) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) |