com.esri.arcgis.geodatabase
Interface IAttachmentInfoArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttachmentInfoArray, IAttachmentInfoArrayProxy

public interface IAttachmentInfoArray
extends Serializable

Array of AttachmentInfo objects.

Product Availability

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


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

Method Detail

getCount

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

IAttachmentInfo getElement(int index)
                           throws IOException,
                                  AutomationException
Returns the attachmentinfo 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.IAttachmentInfo
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 attachmentinfo 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 attachmentinfos.

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

Product Availability

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

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

insert

void insert(int index,
            IAttachmentInfo attachment)
            throws IOException,
                   AutomationException
Adds a attachmentinfo 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.IAttachmentInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.