com.esri.arcgis.system
Interface IEnumVariantSimple

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumVariantSimpleProxy

public interface IEnumVariantSimple
extends Serializable

Provides access to members that enumerate over a set of VARIANTs.

Description

IEnumVariantSimple is a VB friendly alternative to the standard OLE interface IEnumVariant. Where IEnumVariant pointers are returned by ESRI interfaces, such as IDataStatistics, you should instead be able to use IEnumVariantSimple.

Product Availability

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


Method Summary
 Object next()
          Obtains the next VARIANT in the set.
 void reset()
          Resets the internal cursor back to the beginning of the set.
 

Method Detail

next

Object next()
            throws IOException,
                   AutomationException
Obtains the next VARIANT in the set.

Description

The Next method returns the next variant in the enumerator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

reset

void reset()
           throws IOException,
                  AutomationException
Resets the internal cursor back to the beginning of the set.

Description

The Reset method resets the enumerator so that the next call to the Next method returns the first variant 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.