Class AttachmentManagerClass
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
[Guid("431A70D7-5F78-4574-82E4-C2CE96356D79")]
[ClassInterface(ClassInterfaceType.None)]
public class AttachmentManagerClass : AttachmentManager, IAttachmentManager
- Inheritance
-
AttachmentManagerClass
- Implements
- Inherited Members
Explicit Interface Implementations
AddAttachment(long, IAttachment)
Adds an attachment to the object identified by the oid.
virtual long AddAttachment(long parentObjectID, IAttachment Attachment)
Parameters
parentObjectIDlongAttachmentIAttachment
Returns
AddAttachmentByGlobalID(string, IAttachment)
Adds an attachment to the object identified by the oid.
virtual long AddAttachmentByGlobalID(string ParentGlobalID, IAttachment Attachment)
Parameters
ParentGlobalIDstringAttachmentIAttachment
Returns
DeleteAttachment(long)
Deletes the attachment identified with attID.
virtual void DeleteAttachment(long AttachmentID)
Parameters
AttachmentIDlong
DeleteAttachmentByGlobalID(string)
Deletes the attachment identified with attID.
virtual void DeleteAttachmentByGlobalID(string GlobalID)
Parameters
GlobalIDstring
DeleteAttachmentForParent(long, long)
Deletes the attachment.
virtual void DeleteAttachmentForParent(long parentObjectID, long AttachmentID)
Parameters
DeleteAttachmentsForParent(long)
Deletes all attachments for the object with oid.
virtual void DeleteAttachmentsForParent(long parentObjectID)
Parameters
parentObjectIDlong
DeleteAttachmentsForParentByGlobalID(string)
Deletes all attachments for the object with oid.
virtual void DeleteAttachmentsForParentByGlobalID(string ParentGlobalID)
Parameters
ParentGlobalIDstring
GetAttachmentsByAttachmentGlobalIDs(IStringArray, bool)
Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
virtual 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.
virtual 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.
virtual 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.
virtual IEnumAttachment GetAttachmentsByParentIDs(ILongLongArray oids, bool infosOnly)
Parameters
oidsILongLongArrayinfosOnlybool
Returns
HasGlobalID
Indicates if the attachments have a global object identity field.
virtual bool HasGlobalID { get; }
Returns
UpdateAttachment(IAttachment)
Updates the attachment.
virtual void UpdateAttachment(IAttachment Attachment)
Parameters
AttachmentIAttachment