ArcObjects Library Reference (NetworkAnalyst)  

INARouteSolver.PreserveFirstStop Property

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

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

PreserveFirstStop allows the first stop to stay as the first 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) |