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


INAContext.Solver Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContext Interface > INAContext.Solver Property
ArcGIS Developer Help

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 Location-allocation solver ArcGIS Network Analyst extension Engine application Origin-destination cost matrix solver Route layer Service area solver Subset network evaluators Vehicle routing problem solver