ArcObjects Library Reference (GeoDatabase)  

IAttachmentManager2.AddAttachmentByGlobalID Method

Adds an attachment to the object identified by the oid.

ERROR: Syntax information about IAttachmentManager2.AddAttachmentByGlobalID may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.GeoDatabase.dll

[C++]
HRESULT AddAttachmentByGlobalID(
  BSTR ParentGlobalID,
  IAttachment* Attachment,
  long* AttachmentID
);
[C++]

Parameters

ParentGlobalID [in]   ParentGlobalID is a parameter of type BSTR 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.

See Also

IAttachmentManager2 Interface