com.esri.arcgis.carto
Interface IDataObjectArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
DataObjectArray

public interface IDataObjectArray
extends Serializable

Array of DataObject elements

Product Availability

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


Method Summary
 void add(IDataObjectEx dataObject)
          Adds a DataObject.
 int getCount()
          Data Object count.
 IDataObjectEx getElement(int index)
          The Data Object at the specified position.
 void insert(int index, IDataObjectEx dataObject)
          Adds a Data Object at the specified position.
 void remove(int index)
          Removes the Data Object at the specified position.
 void removeAll()
          Removes all Data Objects.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
Data Object count.

Product Availability

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

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

getElement

IDataObjectEx getElement(int index)
                         throws IOException,
                                AutomationException
The Data Object at the specified position.

Product Availability

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

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

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes the Data Object at the specified position.

Product Availability

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

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

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all Data Objects.

Product Availability

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

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

add

void add(IDataObjectEx dataObject)
         throws IOException,
                AutomationException
Adds a DataObject.

Product Availability

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

Parameters:
dataObject - A reference to a com.esri.arcgis.carto.IDataObjectEx (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

void insert(int index,
            IDataObjectEx dataObject)
            throws IOException,
                   AutomationException
Adds a Data Object at the specified position.

Product Availability

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

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