com.esri.arcgis.geodatabase
Interface IDataElements

All Superinterfaces:
Serializable
All Known Implementing Classes:
DataElements

public interface IDataElements
extends Serializable

Provides access to the DataElements Interface.

Product Availability

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


Method Summary
 void add(IDataElement dataElement)
          Adds a data element.
 int getCount()
          The data element count.
 IDataElement getElement(int index)
          The data element at the specified position.
 void insert(int index, IDataElement dataElement)
          Adds a data element at the specified position.
 void remove(int index)
          Removes the data element at the specified position.
 void removeAll()
          Removes all data elements.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The data element 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

IDataElement getElement(int index)
                        throws IOException,
                               AutomationException
The data element 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.geodatabase.IDataElement
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 element 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 elements.

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(IDataElement dataElement)
         throws IOException,
                AutomationException
Adds a data element.

Product Availability

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

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

insert

void insert(int index,
            IDataElement dataElement)
            throws IOException,
                   AutomationException
Adds a data element at the specified position.

Product Availability

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

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