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


INARouteSolver Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INARouteSolver Interface

Provides access to the route solver. Note: the INARouteSolver interface has been superseded byINARouteSolver2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Members

Description
Read/write property CreateTraversalResult Indicates if a traversal result will be generated.
Read/write property FindBestSequence Indicates if the solver should resequence the route in the optimal order.
Read/write property OutputLines Indicates if lines will be generated in the result.
Read/write property PreserveFirstStop Indicates if the solver should keep the first stop fixed in the sequence.
Read/write property PreserveLastStop Indicates if the solver should keep the last stop fixed in the sequence.
Read/write property UseTimeWindows Indicates if the solver should consider time windows.

CoClasses that implement INARouteSolver

CoClasses and Classes Description
NARouteSolver Performs shortest path and tour analysis.
NAServerRouteParams Deprecated as of 10.0. A container for the route solver settings and return parameters used by NAServer.

Remarks

INARouteSolver has been superseded by INARouteSolver2.

.NET Snippets

Create Route Layer

.NET Samples

Route layer (Code Files: Program)