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

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