ArcObjects Library Reference (NetworkAnalyst)  

esriNATravelDirection Constants

Options for traveling to or from the facility.

Constant Value Description
esriNATravelDirectionFromFacility 0 Travel to the facility.
esriNATravelDirectionToFacility 1 Travel from the facility.

Product Availability

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

Remarks

The esriNATravelDirection specifies the way the directional impedances are used to solve a network analyst problem type. For directional impedance attributes such as travel time, different results can be generated when traveling from one location to another and vice a versa.

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Find near features SOAP SOE (Code Files: Reference) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Service area solver (Code Files: frmServiceAreaSolver) |