com.esri.arcgis.datasourcesfile
Interface IArcInfoItems

All Superinterfaces:
Serializable
All Known Subinterfaces:
IArcInfoItemsEdit
All Known Implementing Classes:
ArcInfoItems

public interface IArcInfoItems
extends Serializable

Provides access to members that retrieve ArcInfo Items Collection information.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void findItem(String name, int[] index)
          Finds the index of the specified Item in the Items Collection.
 IArcInfoItem getItem(int index)
          Item at the specified index in the Items Collection.
 int getItemCount()
          Number of Items in the Items Collection.
 

Method Detail

getItemCount

int getItemCount()
                 throws IOException,
                        AutomationException
Number of Items in the Items Collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getItem

IArcInfoItem getItem(int index)
                     throws IOException,
                            AutomationException
Item at the specified index in the Items Collection.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findItem

void findItem(String name,
              int[] index)
              throws IOException,
                     AutomationException
Finds the index of the specified Item in the Items Collection.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
index - The index (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.