com.esri.arcgis.system
Interface IEnumName

All Superinterfaces:
Serializable
All Known Implementing Classes:
NamesEnumerator

public interface IEnumName
extends Serializable

Provides access to members that enumerate over a set of name objects.

Description

IEnumName allows you to browse a set of Name objects. IEnumEdit lets you to make a set of Name objects. Both interfaces are implemented by the NamesEnumerator object, defined in esriGeodatabase.

Product Availability

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


Method Summary
 IName next()
          Obtains the next Name in the list.
 void reset()
          Resets the current position to the beginning.
 

Method Detail

next

IName next()
           throws IOException,
                  AutomationException
Obtains the next Name in the list.

Description

The Next method returns the next Name in the enumerator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

reset

void reset()
           throws IOException,
                  AutomationException
Resets the current position to the beginning.

Description

The Reset method resets the enumerator so that the next call to the Next method returns the first Name in the enumerator.

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.