com.esri.arcgis.geodatabase
Interface IEnumFeature

All Superinterfaces:
Serializable
All Known Implementing Classes:
EditSelection, IEnumFeatureProxy, MapSelection

public interface IEnumFeature
extends Serializable

Provides access to members that hand out enumerated features and reset the enumeration.

Remarks

See the IMap::FeatureSelection example for an example of use and the remarks under IActiveView::Selection.

When this interface is used to access features from a map's feature selection (IMap.FeatureSelection), the IEnumFeatureSetup.AllFields property should be used to return fully hydrated features.

Product Availability

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


Method Summary
 IFeature next()
          Retrieves the next Feature in the enumeration sequence.
 void reset()
          Resets the enumeration sequence to the beginning.
 

Method Detail

next

IFeature next()
              throws IOException,
                     AutomationException
Retrieves the next Feature in the enumeration sequence.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

reset

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

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.