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


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

INAContext.NAClasses Property

The collection of classes associated with the analysis.

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

Parameters 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.

Remarks

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

See Also

INAContext Interface

.NET Snippets

Statements - Get NAClass | 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