com.esri.arcgis.location
Interface IEnumRouteIdentifyResult

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumRouteIdentifyResultProxy

public interface IEnumRouteIdentifyResult
extends Serializable

Provides access to the route locations and features found enumeration.

Product Availability

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


Method Summary
 int getCount()
          The number of route locations and features in the enumeration.
 void next(IRouteLocation[] location, IFeature[] route)
          Returns the next route location and route feature.
 void reset()
          Starts from the beginning of the route location and feature collection the next time Next is called.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of route locations and features in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

next

void next(IRouteLocation[] location,
          IFeature[] route)
          throws IOException,
                 AutomationException
Returns the next route location and route feature.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
location - A reference to a com.esri.arcgis.location.IRouteLocation (out: use single element array)
route - A reference to a com.esri.arcgis.geodatabase.IFeature (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws IOException,
                  AutomationException
Starts from the beginning of the route location and feature collection the next time Next is called.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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