com.esri.arcgis.networkanalyst
Interface INACompactStreetDirectionsContainer

All Superinterfaces:
Serializable

public interface INACompactStreetDirectionsContainer
extends Serializable

Provides access to a container for compact driving directions.

Remarks

The INACompactStreetDirectionsContainer interface provides access to the directions contents.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 INACompactStreetDirections getDirections(int index)
          The route directions by index.
 int getDirectionsCount()
          The count of routes for the generated directions.
 

Method Detail

getDirectionsCount

int getDirectionsCount()
                       throws IOException,
                              AutomationException
The count of routes for the generated directions.

Remarks

DirectionsCount returns the number of NACompactStreetDirections objects that were generated based on the number of routes passed in to INACompactStreetDirectionsAgent::Execute.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirections

INACompactStreetDirections getDirections(int index)
                                         throws IOException,
                                                AutomationException
The route directions by index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INACompactStreetDirections
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.