ArcObjects Library Reference  (NetworkAnalyst)    

INARouteSolver.UseTimeWindows Property

Indicates if the solver should consider time windows.

[Visual Basic 6.0]
Property UseTimeWindows As Boolean
[Visual Basic .NET]
Public Property UseTimeWindows As Boolean
[C#]
public bool UseTimeWindows {get; set;}
[Java]
public boolean isUseTimeWindows()
throws
    IOException,
    AutomationException
[Java]
public void setUseTimeWindows(
boolean UseTimeWindows
)
throws
    IOException,
    AutomationException
[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