ArcObjects Library Reference  (NetworkAnalyst)    

NATraversalResultElement CoClass

An individual element in a traversal result.

Product Availability

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

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IFeature (esriGeoDatabase) Provides access to members that return and set properties of a feature.
IFeatureBuffer (esriGeoDatabase) Provides access to setting and returning the default shape in the feature buffer.
IFeatureChanges (esriGeoDatabase) Provides access to members that provide information about changes in the feature's shape.
IFeatureDraw (esriGeoDatabase) Provides access to members that control custom drawing by a feature.
IFeatureEdit (esriGeoDatabase) Provides access to members implemented to customize feature editing.
IFeatureEdit2 (esriGeoDatabase) Provides access to members implemented to customize feature editing.
IFeatureEvents (esriGeoDatabase) Provides access to events that happen when a feature is split or merged.
IFeatureProject (esriGeoDatabase) Provides access to project a feature's geometry.
IFeatureSimplify (esriGeoDatabase) Provides access to simplifying a feature's geometry.
INATraversalResultElement Provides access to traversal result elements.
IObject (esriGeoDatabase) Provides access to the class the row belongs to.
IRelatedObjectEvents (esriGeoDatabase) Provides access to events that occur when related objects change, move or rotate.
IRowBuffer (esriGeoDatabase) Provides access to members used for getting and modifying a rows values and for getting the fields in the row.
IRowChanges (esriGeoDatabase) Provides access to members that return information about changed values and the original value in a row.
IRowCompare (esriGeoDatabase) Provides access to a member that compares two rows.
IRowEdit (esriGeoDatabase) Provides access to members implemented to customize object editing.
IRowEvents (esriGeoDatabase) Provides access to events that occur when an object is modified, created or deleted.
IRowSubtypes (esriGeoDatabase) Provides access to members to return and modify the subtype code and to initialize the default values.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.
IValidate (esriGeoDatabase) Provides access to members to validate individual features.

Remarks

The NATraversalResultElement is a Feature in one of the three feature classes (edges, junctions, turns) composing the NATraversalResult that holds how the NetworkElement was traversed during network analysis.

The SourceID represents the SourceID in the NATraversalResult's feature class, not the SourceID of the feature class in the NetworkDataset
You must use SourceByID on the INATraversalResult interface to get the NATraversalResultSource and then get the Location or the Table from the INATraversalResultSource interface to find the source feature class.