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


INAStreetDirectionsContainer.DirectionsCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAStreetDirectionsContainer.DirectionsCount Property

The number of routes for the generated directions.

[Visual Basic .NET]
Public ReadOnly Property DirectionsCount As Integer
[C#]
public int DirectionsCount {get;}
[C++]
HRESULT get_DirectionsCount(
  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 NAStreetDirections objects that were generated based on the number of routes passed in to INAStreetDirectionsAgent::Execute.

See Also

INAStreetDirectionsContainer Interface