com.esri.arcgis.controls
Interface IEnumPlace

All Superinterfaces:
Serializable
All Known Implementing Classes:
MyPlaceCollection

public interface IEnumPlace
extends Serializable

Provides access to members enumerate a PlaceCollection.

Description

IEnumPlace allows you to browse the Place objects in the collection.

Product Availability

Available with ArcGIS Engine.


Method Summary
 int getCount()
          The number of places in the enumeration.
 IPlace next()
          Returns the next place in the enumeration.
 void reset()
          Reset the enumeration to start from beginning.
 

Method Detail

next

IPlace next()
            throws IOException,
                   AutomationException
Returns the next place in the enumeration.

Description

The Next method returns the next Place in the enumerator.

Product Availability

Available with ArcGIS Engine.

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

reset

void reset()
           throws IOException,
                  AutomationException
Reset the enumeration to start from beginning.

Description

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

Product Availability

Available with ArcGIS Engine.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of places in the enumeration.

Description

Returns the number of Place objects in the enumerator.

Product Availability

Available with ArcGIS Engine.

Returns:
The placeCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.