IAttachmentManager2 Interface

Members

Name Description
Method AddAttachment Adds an attachment to the object identified by the oid.
Method AddAttachmentByGlobalID Adds an attachment to the object identified by the oid.
Method DeleteAttachment Deletes the attachment identified with attID.
Method DeleteAttachmentByGlobalID Deletes the attachment identified with attID.
Method DeleteAttachmentsForParent Deletes all attachments for the object with oid.
Method DeleteAttachmentsForParentByGlobalID Deletes all attachments for the object with oid.
Method GetAttachmentsByAttachmentGlobalIDs Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
Method GetAttachmentsByAttachmentIDs Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
Method GetAttachmentsByParentGlobalIDs Returns the attachments for the objects with the object ids specified in the oids argument.
Method GetAttachmentsByParentIDs Returns the attachments for the objects with the object ids specified in the oids argument.
Read-only property HasGlobalID Indicates if the attachments have a global object identity field.
Method UpdateAttachment Updates the attachment.

IAttachmentManager2.AddAttachmentByGlobalID Method

Adds an attachment to the object identified by the oid.

Public Function AddAttachmentByGlobalID ( _
    ByVal ParentGlobalID As String, _
    ByVal Attachment As IAttachment _
) As Integer
public int AddAttachmentByGlobalID (
    string ParentGlobalID,
    IAttachment Attachment
);

IAttachmentManager2.DeleteAttachmentByGlobalID Method

Deletes the attachment identified with attID.

Public Sub DeleteAttachmentByGlobalID ( _
    ByVal GlobalID As String _
)
public void DeleteAttachmentByGlobalID (
    string GlobalID
);

IAttachmentManager2.DeleteAttachmentsForParentByGlobalID Method

Deletes all attachments for the object with oid.

Public Sub DeleteAttachmentsForParentByGlobalID ( _
    ByVal ParentGlobalID As String _
)
public void DeleteAttachmentsForParentByGlobalID (
    string ParentGlobalID
);

IAttachmentManager2.GetAttachmentsByAttachmentGlobalIDs Method

Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.

Public Function GetAttachmentsByAttachmentGlobalIDs ( _
    ByVal attachmentGlobalIDs As IStringArray, _
    ByVal infosOnly As Boolean _
) As IEnumAttachment
public IEnumAttachment GetAttachmentsByAttachmentGlobalIDs (
    IStringArray attachmentGlobalIDs,
    bool infosOnly
);

IAttachmentManager2.GetAttachmentsByParentGlobalIDs Method

Returns the attachments for the objects with the object ids specified in the oids argument.

Public Function GetAttachmentsByParentGlobalIDs ( _
    ByVal parentGlobalIDs As IStringArray, _
    ByVal infosOnly As Boolean _
) As IEnumAttachment
public IEnumAttachment GetAttachmentsByParentGlobalIDs (
    IStringArray parentGlobalIDs,
    bool infosOnly
);

Inherited Interfaces

Interfaces Description
IAttachmentManager

Classes that implement IAttachmentManager2

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.