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

bool

Methods

AddAttachment(long, IAttachment)

Adds an attachment to the object identified by the oid.

long AddAttachment(long parentObjectID, IAttachment Attachment)

Parameters

parentObjectID long
Attachment IAttachment

Returns

long

AddAttachmentByGlobalID(string, IAttachment)

Adds an attachment to the object identified by the oid.

long AddAttachmentByGlobalID(string ParentGlobalID, IAttachment Attachment)

Parameters

ParentGlobalID string
Attachment IAttachment

Returns

long

DeleteAttachment(long)

Deletes the attachment identified with attID.

void DeleteAttachment(long AttachmentID)

Parameters

AttachmentID long

DeleteAttachmentByGlobalID(string)

Deletes the attachment identified with attID.

void DeleteAttachmentByGlobalID(string GlobalID)

Parameters

GlobalID string

DeleteAttachmentForParent(long, long)

Deletes the attachment.

void DeleteAttachmentForParent(long parentObjectID, long AttachmentID)

Parameters

parentObjectID long
AttachmentID long

DeleteAttachmentsForParent(long)

Deletes all attachments for the object with oid.

void DeleteAttachmentsForParent(long parentObjectID)

Parameters

parentObjectID long

DeleteAttachmentsForParentByGlobalID(string)

Deletes all attachments for the object with oid.

void DeleteAttachmentsForParentByGlobalID(string ParentGlobalID)

Parameters

ParentGlobalID string

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

attachmentGlobalIDs IStringArray
infosOnly bool

Returns

IEnumAttachment

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

attachmentIDs ILongLongArray
infosOnly bool

Returns

IEnumAttachment

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

parentGlobalIDs IStringArray
infosOnly bool

Returns

IEnumAttachment

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

oids ILongLongArray
infosOnly bool

Returns

IEnumAttachment

UpdateAttachment(IAttachment)

Updates the attachment.

void UpdateAttachment(IAttachment Attachment)

Parameters

Attachment IAttachment