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

.NET Samples

Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) |