ArcObjects Library Reference (NetworkAnalyst)  

INAServerRouteParams.ReturnDirections Property

Indicates if directions should be generated and returned with the analysis results.

[Visual Basic .NET]
Public Property ReturnDirections As Boolean
[C#]
public bool ReturnDirections {get; set;}
[C++]
HRESULT get_ReturnDirections(
  VARIANT_BOOL* ReturnDirections
);
[C++]
HRESULT put_ReturnDirections(
  VARIANT_BOOL ReturnDirections
);
[C++]

Parameters

ReturnDirections [out, retval]   ReturnDirections is a parameter of type VARIANT_BOOL ReturnDirections [in]   ReturnDirections is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

ReturnDirections specifies if directions are calculated during solve and returned in INAServerRouteResults::Directions.

See Also

INAServerRouteParams Interface

.NET Samples

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) |