com.esri.arcgis.geodatabase
Interface IAttachmentDataArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttachmentDataArray, IAttachmentDataArrayProxy

public interface IAttachmentDataArray
extends Serializable

Array of AttachmentData objects.

Product Availability

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


Method Summary
 void add(IAttachmentData attachment)
          Adds a attachment data.
 int getCount()
          The attachment data count.
 IAttachmentData getElement(int index)
          Returns the attachment data at the specified position.
 void insert(int index, IAttachmentData attachment)
          Adds a attachment data at the specified position.
 void remove(int index)
          Removes the attachment data at the specified position.
 void removeAll()
          Removes all attachment data.
 

Method Detail

getCount

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

IAttachmentData getElement(int index)
                           throws IOException,
                                  AutomationException
Returns the attachment data 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.IAttachmentData
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 attachment data 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 attachment data.

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(IAttachmentData attachment)
         throws IOException,
                AutomationException
Adds a attachment data.

Product Availability

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

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

insert

void insert(int index,
            IAttachmentData attachment)
            throws IOException,
                   AutomationException
Adds a attachment data at the specified position.

Product Availability

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

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