com.esri.arcgis.carto
Interface IEnumLayer

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumLayerProxy, TemporalLayerEnum

public interface IEnumLayer
extends Serializable

Provides access to members that allow iteration through a set of layers.

Remarks

IEnumLayer provides access to an enumeration of layers as would be returned by IMap::Layers.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 ILayer next()
          The next layer in the set.
 void reset()
          Resets iterator to first layer in the set.
 

Method Detail

next

ILayer next()
            throws IOException,
                   AutomationException
The next layer in the set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

reset

void reset()
           throws IOException,
                  AutomationException
Resets iterator to first layer in the set.

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.