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


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

INARouteSolver.PreserveLastStop Property

Indicates if the solver should keep the last stop fixed in the sequence.

[Visual Basic .NET]
Public Property PreserveLastStop As Boolean
[C#]
public bool PreserveLastStop {get; set;}
[C++]
HRESULT get_PreserveLastStop(
  VARIANT_BOOL* Value
);
[C++]
HRESULT put_PreserveLastStop(
  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

PreserveLastStop allows the last stop to stay as the last stop if the FindBestSequence has been turned on to optimize the sequence of stops.

See Also

INARouteSolver Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties)