|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IA > IAttachmentInfoArray Interface > IAttachmentInfoArray.Add Method (ArcObjects .NET 10.4 SDK) | 
Adds a attachmentinfo.
[Visual Basic .NET] Public Sub Add ( _ ByVal rec As IAttachmentInfo _ )
[C#] public void Add ( IAttachmentInfo rec );
[C++]
HRESULT Add(
  IAttachmentInfo* rec
);
[C++]
Parameters rec [in]
rec is a parameter of type IAttachmentInfo