This document is archived and information here might be outdated.  Recommended version.


IEnumFeature Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IEnumFeature Interface
ArcGIS Developer Help

IEnumFeature Interface

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

Product Availability

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

Members

Name Description
Method Next Retrieves the next Feature in the enumeration sequence.
Method Reset Resets the enumeration sequence to the beginning.

Classes that implement IEnumFeature

Classes Description
EditSelection (esriEditor) Enumerates the editable selected features.
MapSelection (esriCarto) Maintains the map's feature selection.

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.

.NET Samples

Move a graphic along a path in ArcMap Using HookActions in custom commands Using HookActions in custom commands Using HookActions in custom commands Using HookActions in custom commands Using HookActions in custom commands Using HookActions in custom commands Implementing an XML builder external component