This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INARouteSolver Interface > INARouteSolver.PreserveLastStop Property (ArcObjects .NET 10.4 SDK) |
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
PreserveLastStop allows the last stop to stay as the last stop if the FindBestSequence has been turned on to optimize the sequence of stops.