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


INAStreetDirections.DirectionCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAStreetDirections Interface > INAStreetDirections.DirectionCount Property
ArcGIS Developer Help

INAStreetDirections.DirectionCount Property

The number of direction items.

[Visual Basic .NET]
Public ReadOnly Property DirectionCount As Integer
[C#]
public int DirectionCount {get;}
[C++]
HRESULT get_DirectionCount(
  System.Int32* Count
);
[C++]
Parameters
Count [out, retval]

Count is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

DirectionsCount returns the number of individual step-by-step directions associated with the route.

See Also

INAStreetDirections Interface