com.esri.arcgis.location
Interface IEnumReferenceDataTable

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumReferenceDataTableProxy, ReferenceDataTableEnumerator

public interface IEnumReferenceDataTable
extends Serializable

Provides access to members for retrieving the reference data tables.

When To Use

Use the IEnumReferenceDataTable interface to retrieve the ReferenceDataTables contained by the enumerator.

Product Availability

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


Method Summary
 int getCount()
          The number of reference data tables for the locator.
 IReferenceDataTable next()
          Returns the next reference data table.
 void reset()
          Resets the enumeration.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of reference data tables for the locator.

Description

The Count property returns the number of ReferenceDataTables contained by the enumerator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

next

IReferenceDataTable next()
                         throws IOException,
                                AutomationException
Returns the next reference data table.

Description

Returns the next ReferenceDataTable from 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.location.IReferenceDataTable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration.

Description

The Reset method resets the ReferenceDataTableEnumerator so that the Next method returns the first ReferenceDataTable from the enumerator.

Remarks

You should use this method immediately after obtaining the ReferenceDataTableEnumerator from the locator. You need to use this method before querying the Count property or calling the Next method.

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.