Adds an attachment to the object identified by the oid.
[Visual Basic .NET] Public Function AddAttachment ( _ ByVal OID As Integer, _ ByVal att As IAttachment _ ) As Integer
[C#] public int AddAttachment ( int OID, IAttachment att );
[C++]
HRESULT AddAttachment(
long parentObjectID,
IAttachment* Attachment,
long* AttachmentID
);
[C++]Parameters
parentObjectID [in] parentObjectID is a parameter of type long Attachment [in]Attachment is a parameter of type IAttachment
AttachmentID [out, retval] AttachmentID is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.