com.esri.arcgis.networkanalyst
Interface IEnumNALocation

All Superinterfaces:
Serializable
All Known Implementing Classes:
EnumNALocation, IEnumNALocationProxy

public interface IEnumNALocation
extends Serializable

Provides access to network locations in the collection.

Remarks

This interface is returned from NALocator objects when asked to search for network locations.

Product Availability

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


Method Summary
 INALocation next()
          Fetch the next item in the collection.
 void reset()
          Reset the collection back to the first item.
 

Method Detail

next

INALocation next()
                 throws IOException,
                        AutomationException
Fetch the next item in the collection.

Remarks

Next returns the next NALocation in the enumerator.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.networkanalyst.INALocation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws IOException,
                  AutomationException
Reset the collection back to the first item.

Remarks

Reset sets the enumerator back to the first NALocation.

Product Availability

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

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