com.esri.arcgis.carto
Interface IEnumLocatedNetworkElement

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumLocatedNetworkElementProxy

public interface IEnumLocatedNetworkElement
extends Serializable

Provides access to members that hand out enumerated network elements, and reset the enumeration.

Product Availability

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


Method Summary
 INetworkDataset getNetworkDataset()
          Network dataset of the enumerated network elements.
 int next(IGeometry[] elementGeometry, int[] elementType)
          Retrieves the geometry, element type, and element id of the next network element in the enumeration sequence.
 void reset()
          Resets the enumeration seqeuence to the beginning.
 

Method Detail

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration seqeuence to the beginning.

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.

next

int next(IGeometry[] elementGeometry,
         int[] elementType)
         throws IOException,
                AutomationException
Retrieves the geometry, element type, and element id of the next network element in the enumeration sequence.

Product Availability

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

Parameters:
elementGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in/out: use single element array)
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in/out: use single element array)
Returns:
The elementID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkDataset

INetworkDataset getNetworkDataset()
                                  throws IOException,
                                         AutomationException
Network dataset of the enumerated network elements.

Product Availability

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

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