com.esri.arcgis.geodatabase
Interface IEnumIDs

All Superinterfaces:
Serializable
All Known Implementing Classes:
EnumIDs, IEnumIDsProxy, TMSEnumIDs

public interface IEnumIDs
extends Serializable

Provides access to members that enumerate through IDs.

Remarks

The IEnumIDs interface is used to enumerate a set of objects identifiers. It is used for instance, by the ISelectionSet interface to enumerate selected features or rows.

Use a loop to parse the enumeration repetitively using the Next method. It will return -1 after the last valid ID has been reached.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


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

Method Detail

next

int next()
         throws IOException,
                AutomationException
Retrieves the next id in the enumeration sequence.

Remarks

IEnumIDs::Next returns -1 when there are no more IDs in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The iD
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.