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


ISMDirections.TotalLength Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesFile)  

ISMDirections.TotalLength Property

The total length of the route (in miles by default).

[Visual Basic .NET]
Public ReadOnly Property TotalLength As Double
[C#]
public double TotalLength {get;}
[C++]
HRESULT get_TotalLength(
  double* pVal
);
[C++]

Parameters pVal [out, retval] pVal is a parameter of type double

Product Availability

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

Description

Returns total length (in miles) of the route found.

See Also

ISMDirections Interface