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


INAServiceAreaSolver.TravelDirection Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServiceAreaSolver.TravelDirection Property

The direction of the traversal.

[Visual Basic .NET]
Public Property TravelDirection As esriNATravelDirection
[C#]
public esriNATravelDirection TravelDirection {get; set;}
[C++]
HRESULT get_TravelDirection(
  esriNATravelDirection* Value
);
[C++]
HRESULT put_TravelDirection(
  esriNATravelDirection Value
);
[C++]

Parameters Value [out, retval]
Value is a parameter of type esriNATravelDirection Value [in]
Value is a parameter of type esriNATravelDirection

Product Availability

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

Remarks

TravelDirection specifies if it is traveling from the facility (default) or traveling to the facility. 

This can make a difference in the computed service area if there are oneway restrictions, turn restrictions, or different travel cost attributes for each side of the street in the network.

See Also

INAServiceAreaSolver Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Service area solver (Code Files: frmServiceAreaSolver)