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

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

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Route layer (Code Files: Program) | Service area solver (Code Files: frmServiceAreaSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) |

.NET Related Topics

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