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


INAStreetDirections.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 > INAStreetDirections Interface > INAStreetDirections.Direction Property
ArcGIS Developer Help

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