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


INetworkDirections Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkDirections Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkDirections Interface

Provides access to the properties for setting up driving directions.

Product Availability

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

Members

Name Description
Read/write property DefaultOutputLengthUnits The default length units that will be used for reporting distances in driving directions.
Read/write property LengthAttributeName The name of the network attribute to be used for reporting travel distances.
Read/write property RoadClassAttributeName The name of the network attribute to be used for road classification.
Read/write property TimeAttributeName The name of the network attribute to be used for reporting travel time.

CoClasses that implement INetworkDirections

CoClasses and Classes Description
NetworkDirections A container for describing and using network directions.

Remarks

The INetworkDirections interface should be used to get and set Directions information at the network dataset level, such as the output length units or length attribute to be used for Directions generation.  In order to generate directions a network dataset needs certain information which includes:

The length attribute and units parameters are set on the INetworkDirections interface.

.NET Related Topics

How to create a multimodal network dataset | How to create a network dataset