Interface IAttachmentManager
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
[Guid("52067577-796D-421A-8502-8F10D4EBD1FE")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IAttachmentManager
Properties
HasGlobalID
Indicates if the attachments have a global object identity field.
bool HasGlobalID { get; }
Property Value
Methods
AddAttachment(long, IAttachment)
Adds an attachment to the object identified by the oid.
long AddAttachment(long parentObjectID, IAttachment Attachment)
Parameters
parentObjectIDlongAttachmentIAttachment
Returns
AddAttachmentByGlobalID(string, IAttachment)
Adds an attachment to the object identified by the oid.
long AddAttachmentByGlobalID(string ParentGlobalID, IAttachment Attachment)
Parameters
ParentGlobalIDstringAttachmentIAttachment
Returns
DeleteAttachment(long)
Deletes the attachment identified with attID.
void DeleteAttachment(long AttachmentID)
Parameters
AttachmentIDlong
DeleteAttachmentByGlobalID(string)
Deletes the attachment identified with attID.
void DeleteAttachmentByGlobalID(string GlobalID)
Parameters
GlobalIDstring
DeleteAttachmentForParent(long, long)
Deletes the attachment.
void DeleteAttachmentForParent(long parentObjectID, long AttachmentID)
Parameters
DeleteAttachmentsForParent(long)
Deletes all attachments for the object with oid.
void DeleteAttachmentsForParent(long parentObjectID)
Parameters
parentObjectIDlong
DeleteAttachmentsForParentByGlobalID(string)
Deletes all attachments for the object with oid.
void DeleteAttachmentsForParentByGlobalID(string ParentGlobalID)
Parameters
ParentGlobalIDstring
GetAttachmentsByAttachmentGlobalIDs(IStringArray, bool)
Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
IEnumAttachment GetAttachmentsByAttachmentGlobalIDs(IStringArray attachmentGlobalIDs, bool infosOnly)
Parameters
attachmentGlobalIDsIStringArrayinfosOnlybool
Returns
GetAttachmentsByAttachmentIDs(ILongLongArray, bool)
Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
IEnumAttachment GetAttachmentsByAttachmentIDs(ILongLongArray attachmentIDs, bool infosOnly)
Parameters
attachmentIDsILongLongArrayinfosOnlybool
Returns
GetAttachmentsByParentGlobalIDs(IStringArray, bool)
Returns the attachments for the objects with the object ids specified in the oids argument.
IEnumAttachment GetAttachmentsByParentGlobalIDs(IStringArray parentGlobalIDs, bool infosOnly)
Parameters
parentGlobalIDsIStringArrayinfosOnlybool
Returns
GetAttachmentsByParentIDs(ILongLongArray, bool)
Returns the attachments for the objects with the object ids specified in the oids argument.
IEnumAttachment GetAttachmentsByParentIDs(ILongLongArray oids, bool infosOnly)
Parameters
oidsILongLongArrayinfosOnlybool
Returns
UpdateAttachment(IAttachment)
Updates the attachment.
void UpdateAttachment(IAttachment Attachment)
Parameters
AttachmentIAttachment