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


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

INALocationAllocationSolver.TravelDirection Property

Specifies which direction the network will be traversed.

[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 [in]

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

Product Availability

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

Remarks

TravelDirection can be set to travel from the facility (default) or travel to the facility. This can make a difference in finding the closest facility to a demand point if there are oneway restrictions, turn restrictions, or different travel cost attributes for each side of the street in the network. This property sets and gets the travel direction for the NALocationAllocationSolver.

See Also

INALocationAllocationSolver Interface

.NET Samples

Location-allocation solver ArcGIS Network Analyst extension Engine application