com.esri.arcgis.networkanalyst
Interface INAClassDefinition2

All Superinterfaces:
INAClassDefinition, Serializable
All Known Implementing Classes:
NAClassDefinition

public interface INAClassDefinition2
extends INAClassDefinition, Serializable

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

Remarks

INAClassDefinition2 is the main interface on the NAClassDefinition object. It provides properties for NAClasses used in network analysis.

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

See the help for the NAClassDefinition CoClass for more information.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int findLocationRangesField()
          The field index of the Location Ranges BLOB field used to store LocationRanges, or -1 if the referenced NAClass does not support NALocationRanges.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAClassDefinition
getCandidateFieldNames, getClassCLSID, getFields, getFieldType, getLowerBound, getName, getUpperBound, isHasLocationFields, isInput, isOutput
 

Method Detail

findLocationRangesField

int findLocationRangesField()
                            throws IOException,
                                   AutomationException
The field index of the Location Ranges BLOB field used to store LocationRanges, or -1 if the referenced NAClass does not support NALocationRanges.

Remarks

Returns the index of the Location Ranges field within the NAClass.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The index
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.