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


ISMDirections.TotalLength Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMDirections Interface > ISMDirections.TotalLength Property
ArcGIS Developer Help

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(
void
);

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