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


INAContext.Solver Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAContext.Solver Property

The function used for the analysis.

[Visual Basic .NET]
Public ReadOnly Property Solver As INASolver
[C#]
public INASolver Solver {get;}
[C++]
HRESULT get_Solver(
  INASolver** Solver
);
[C++]

Parameters Solver [out, retval]
Solver is a parameter of type INASolver

Product Availability

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

Remarks

Solver returns an object that implements INASolver.  This is generally the solver that created the NAContext.

See Also

INAContext Interface

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Subset network evaluators (Code Files: SubsetHelperUI) | Route layer (Code Files: Program)

.NET Related Topics

How to set up an ArcGIS Network Analyst extension solve to work with the undo/redo stack