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


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

INAStreetDirections.Direction Property

The direction item by index.

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

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

Product Availability

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

Remarks

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

See Also

INAStreetDirections Interface