Provides access to traversal result elements.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.
Members
Description | ||
---|---|---|
ElementID | The result element ID. | |
ElementType | The result element type. | |
FromPosition | The starting position of the result element on the result source. | |
SourceID | The result element source ID. | |
SourceOID | The result element source OID. | |
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:
- ElementID - The ObjectID of the NATraversalResultElement.
- ElementType - The type of traversal element (esriNETJunction, esriNETEdge, or esriNETTurn).
- SourceID - The SourceID of the feature class the NATraversalResultElement is referencing. This references the SourceID of a NATraversalResultSource accessed through INATraversalResult.
- SourceOID - The ObjectID of the Feature in the NetworkDataset's or NAContext's FeatureClass.
- FromPosition - The starting position of an NATraversalResultElement on the underlying feature in the network dataset.
- ToPosition - The ending position of an NATraversalResultElement on the underlying feature in the network dataset.