com.esri.arcgis.geodatabase
Interface IRecordArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
IRecordArrayProxy, RecordArray

public interface IRecordArray
extends Serializable

Product Availability

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


Method Summary
 void add(IRecord rec)
          Adds a record.
 int getCount()
          The record count.
 IRecord getElement(int index)
          Returns the record at the specified position.
 void insert(int index, IRecord rec)
          Adds a record at the specified position.
 void remove(int index)
          Removes the record at the specified position.
 void removeAll()
          Removes all records.
 

Method Detail

getCount

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

IRecord getElement(int index)
                   throws IOException,
                          AutomationException
Returns the record 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.IRecord
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 record 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 records.

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(IRecord rec)
         throws IOException,
                AutomationException
Adds a record.

Product Availability

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

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

insert

void insert(int index,
            IRecord rec)
            throws IOException,
                   AutomationException
Adds a record at the specified position.

Product Availability

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

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