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


INACompactStreetDirections.Direction Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INACompactStreetDirections.Direction Property

The direction by index.

[Visual Basic .NET]
Public Function get_Direction ( _
    ByVal Index As Integer _
) As INACompactStreetDirection
[C#]
public INACompactStreetDirection get_Direction (
    int Index
);
[C++]
HRESULT get_Direction(
  long Index,
  INACompactStreetDirection** Direction
);
[C++]

Parameters Index [in]
Index is a parameter of type long Direction [out, retval]
Direction is a parameter of type INACompactStreetDirection**

Product Availability

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

Remarks

Direction returns the NACompactStreetDirection object for the index specified.  This corresponds to one step in the street directions.

See Also

INACompactStreetDirections Interface