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


INATraversalResultElement Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INATraversalResultElement Interface

Provides access to traversal result elements.

Product Availability

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

Members

Description
Read-only property ElementID The result element ID.
Read-only property ElementType The result element type.
Read/write property FromPosition The starting position of the result element on the result source.
Read/write property SourceID The result element source ID.
Read/write property SourceOID The result element source OID.
Read/write property ToPosition The ending position of the result element on the result source.

CoClasses that implement INATraversalResultElement

CoClasses and Classes Description
NATraversalResultElement An individual element in a traversal result.

Remarks

The INATraversalResultElement is the main interface on the NATraversalResultElement object.  It provides the properties ElementID, ElementType, SourceID, SourceOID, FromPosition, and ToPosition to retrieve the corresponding information stored in the feature.

You can use the properties on this interface to retrieve the information from the row, or you can simply query the value from the row yourself after first determining the field name from the INATraversalResultQuery interface.  This is what the various properties mean:

.NET Related Topics

How to generate directions