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


NAClassDefinition CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

NAClassDefinition CoClass

Defines how fields should be mapped as inputs and outputs of analysis functions.

Product Availability

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

Interfaces

Interfaces Description
IClone (esriSystem) Provides access to members that control cloning of objects.
INAClassDefinition Provides access to properties common to all network analyst class definitions.
INAClassDefinition2 Provides access to properties common to all network analyst class definitions.
INAClassDefinitionEdit Provides access to editable properties common to all network analyst class definitions.
IPersistStream (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.

Remarks

The NAClassDefinition is created and maintained by the network solver.  The NAClassDefinition holds information about how the NAClass fields should be created when the solver creates the NAContext and corresponding NAClass objects.  It also holds additional information about the fields of the NAClass that cannot be found on the IField interface.  This information is used by the solver and the Network Analyst Tools.

There are three ways to obtain NAClassDefinition objects: