ArcObjects Library Reference (NetworkAnalyst)  

INAClassDefinitionEdit Interface

Provides access to editable properties common to all network analyst class definitions.

Product Availability

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

Members

Description
Write-only property CandidateFieldNames The field names that will be used by default for the network analyst class.
Write-only property ClassCLSID The COM class id for the network analyst class.
Write-only property Fields The fields for the network analyst class.
Write-only property FieldType The field type for a network analyst class field.
Write-only property IsInput Indicates if the class is used as an input to analysis.
Write-only property IsOutput Indicates if the class is used as an output from analysis.
Write-only property LowerBound The minimum number of objects required in the class by the solver to perform analysis.
Write-only property Name The name of the class.
Write-only property UpperBound The maximum number of objects allowed in the class by the solver to perform analysis.

CoClasses that implement INAClassDefinitionEdit

CoClasses and Classes Description
NAClassDefinition Defines how fields should be mapped as inputs and outputs of analysis functions.

Remarks

INAClassDefinitionEdit is the interface on the NAClassDefinition object used to setup the properties of an NAClassDefinition object.  It provides properties for things like the NAClass name, its field types, the candidate field names used during bulk loading of network location features, if the NAClass is for input and/or output and the upper and lower bound of features in the class required for analysis.

These properties should only be set by an NASolver in response to a call to CreateContext or UpdateContext.  The only exception is CandidateFieldNames which can be set at any time to provide good default field mappings to be used by the NAClassFieldMap in conjunction with the NAClassLoader.

This interface could also be useful to set up custom class definitions for a custom solver.

The INAClassDefinition interface should be used if you want to access the properties of an NAClassDefinition object.