ArcObjects Library Reference (NetworkAnalyst)  

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(
  long* 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

.NET Samples

Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) |