com.esri.arcgis.catalogUI
Interface IGxObjectEnumerator

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGxObjectEnumeratorProxy

public interface IGxObjectEnumerator
extends Serializable

Provides access to methods that control the object enumerator.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 int getCount()
          The number of GxObjects in the enumerator.
 IGxObject getCurrent()
          The current GxObject in the enumerator.
 int getCurrentPos()
          The current position of the GxObject in the enumerator.
 void setCurrentPos(int pIdx)
          The current position of the GxObject in the enumerator.
 

Method Detail

getCurrent

IGxObject getCurrent()
                     throws IOException,
                            AutomationException
The current GxObject in the enumerator.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getCurrentPos

int getCurrentPos()
                  throws IOException,
                         AutomationException
The current position of the GxObject in the enumerator.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setCurrentPos

void setCurrentPos(int pIdx)
                   throws IOException,
                          AutomationException
The current position of the GxObject in the enumerator.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
pIdx - The pIdx (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of GxObjects in the enumerator.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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