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


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

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