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


ISMDirections Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesFile)  

ISMDirections Interface

Deprecated as of 10.1. Provides access to the driving directions information (path geometry and description of each path segment).

Product Availability

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

Description

Provides driving directions information including path geometry and a detailed description for each path segment.

Members

Description
Read-only property BoundBox The geographic extent of the entire route.
Read-only property Count The total number of items in the driving directions object.
Read-only property Item A reference to a direction item by its position.
Read-only property TotalDrivingTime The total driving time for the route.
Read-only property TotalLength The total length of the route (in miles by default).
Read-only property TotalsText A string containing the total time and length of the route.
Read-only property TotalTime The total time of the entire trip.

CoClasses that implement ISMDirections

CoClasses and Classes Description
SMDirections Deprecated as of 10.1. Driving directions information including path geometry and description of each path segment.

.NET Samples

StreetMap routing (Code Files: DirectionsForm RoutingForm)