This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNetworkAnalystHelper Interface > IEngineNetworkAnalystHelper.GetDirections Method (ArcObjects .NET 10.4 SDK) |
Get directions after solving.
[Visual Basic .NET] Public Function GetDirections ( _ ) As INAStreetDirectionsContainer
[C#] public INAStreetDirectionsContainer GetDirections ( );
[C++]
HRESULT GetDirections(
INAStreetDirectionsContainer** DirectionsContainer
);
[C++]
Parameters DirectionsContainer [out, retval]
DirectionsContainer is a parameter of type INAStreetDirectionsContainer
Use the GetDirections method after using the Solve method to return directions contents in XML format. Using GetDirections before the Solve method will return nothing.