ArcObjects Library Reference (NetworkAnalyst)  

INAContext.NAClasses Property

The collection of classes associated with the analysis.

[Visual Basic .NET]
Public ReadOnly Property NAClasses As INamedSet
public INamedSet NAClasses {get;}
HRESULT get_NAClasses(
  INamedSet** classes


classes [out, retval]

  classes is a parameter of type INamedSet

Product Availability

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


NAClasses returns a NamedSet of the NAClasses (e.g. Stops, Barriers, Routes) that are contained within the NAContext.

See Also

INAContext Interface

.NET Snippets

Get NAClass | Statements - Get NAClass | Clear Active Analysis Layer

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | 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) | Route layer (Code Files: Program)

.NET Related Topics

How to generate directions | How to load data into a network analysis problem