IAttachmentManager 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 DeleteAttachmentForParent Deletes the attachment.
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.

IAttachmentManager.AddAttachment Method

Adds an attachment to the object identified by the oid.

Public Function AddAttachment ( _
    ByVal parentObjectID As Long, _
    ByVal Attachment As IAttachment _
) As Long
public long AddAttachment (
    long parentObjectID,
    IAttachment Attachment
);

IAttachmentManager.AddAttachmentByGlobalID Method

Adds an attachment to the object identified by the oid.

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

IAttachmentManager.DeleteAttachment Method

Deletes the attachment identified with attID.

Public Sub DeleteAttachment ( _
    ByVal AttachmentID As Long _
)
public void DeleteAttachment (
    long AttachmentID
);

IAttachmentManager.DeleteAttachmentByGlobalID Method

Deletes the attachment identified with attID.

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

IAttachmentManager.DeleteAttachmentForParent Method

Deletes the attachment.

Public Sub DeleteAttachmentForParent ( _
    ByVal parentObjectID As Long, _
    ByVal AttachmentID As Long _
)
public void DeleteAttachmentForParent (
    long parentObjectID,
    long AttachmentID
);

IAttachmentManager.DeleteAttachmentsForParent Method

Deletes all attachments for the object with oid.

Public Sub DeleteAttachmentsForParent ( _
    ByVal parentObjectID As Long _
)
public void DeleteAttachmentsForParent (
    long parentObjectID
);

IAttachmentManager.DeleteAttachmentsForParentByGlobalID Method

Deletes all attachments for the object with oid.

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

IAttachmentManager.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
);

IAttachmentManager.GetAttachmentsByAttachmentIDs Method

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

Public Function GetAttachmentsByAttachmentIDs ( _
    ByVal attachmentIDs As ILongLongArray, _
    ByVal infosOnly As Boolean _
) As IEnumAttachment
public IEnumAttachment GetAttachmentsByAttachmentIDs (
    ILongLongArray attachmentIDs,
    bool infosOnly
);

IAttachmentManager.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
);

IAttachmentManager.GetAttachmentsByParentIDs Method

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

Public Function GetAttachmentsByParentIDs ( _
    ByVal oids As ILongLongArray, _
    ByVal infosOnly As Boolean _
) As IEnumAttachment
public IEnumAttachment GetAttachmentsByParentIDs (
    ILongLongArray oids,
    bool infosOnly
);

IAttachmentManager.HasGlobalID Property

Indicates if the attachments have a global object identity field.

Public ReadOnly Property HasGlobalID As Boolean
public bool HasGlobalID {get;}

IAttachmentManager.UpdateAttachment Method

Updates the attachment.

Public Sub UpdateAttachment ( _
    ByVal Attachment As IAttachment _
)
public void UpdateAttachment (
    IAttachment Attachment
);

Classes that implement IAttachmentManager

Classes Description
AttachmentManager .

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