This document is archived and information here might be outdated.  Recommended version.


IAttachmentDataArray.Insert Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IAttachmentDataArray.Insert Method

Adds a attachment data at the specified position.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal Attachment As IAttachmentData _
)
[C#]
public void Insert (
    int Index,
    IAttachmentData Attachment
);
[C++]
HRESULT Insert(
  long Index,
  IAttachmentData* Attachment
);
[C++]

Parameters Index [in] Index is a parameter of type long Attachment [in]
Attachment is a parameter of type IAttachmentData

Product Availability

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

See Also

IAttachmentDataArray Interface