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

INAContext.NAClasses 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.NAClasses Property
ArcGIS Developer Help

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 Samples

Closest facility solver Location-allocation solver Origin-destination cost matrix solver Route layer Service area solver Vehicle routing problem solver