IAttachmentManager Interface
Members
Name | Description | |
---|---|---|
![]() |
AddAttachment | Adds an attachment to the object identified by the oid. |
![]() |
DeleteAttachment | Deletes the attachment identified with attID. |
![]() |
DeleteAttachmentsForParent | Deletes all attachments for the object with oid. |
![]() |
GetAttachmentsByAttachmentIDs | Returns the attachments for the attachments with the attachment ids specified in the attIDs argument. |
![]() |
GetAttachmentsByParentIDs | Returns the attachments for the objects with the object ids specified in the oids argument. |
![]() |
HasGlobalID | Indicates if the attachments have a global object identity field. |
![]() |
UpdateAttachment | Updates the attachment. |
IAttachmentManager.AddAttachment Method
Adds an attachment to the object identified by the oid.
Public Function AddAttachment ( _
ByVal parentObjectID As Integer, _
ByVal Attachment As IAttachment _
) As Integer
public int AddAttachment (
int parentObjectID,
IAttachment Attachment
);
IAttachmentManager.DeleteAttachment Method
Deletes the attachment identified with attID.
Public Sub DeleteAttachment ( _
ByVal AttachmentID As Integer _
)
public void DeleteAttachment (
int AttachmentID
);
IAttachmentManager.DeleteAttachmentsForParent Method
Deletes all attachments for the object with oid.
Public Sub DeleteAttachmentsForParent ( _
ByVal parentObjectID As Integer _
)
public void DeleteAttachmentsForParent (
int parentObjectID
);
IAttachmentManager.GetAttachmentsByAttachmentIDs Method
Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.
Public Function GetAttachmentsByAttachmentIDs ( _
ByVal attachmentIDs As ILongArray, _
ByVal infosOnly As Boolean _
) As IEnumAttachment
public IEnumAttachment GetAttachmentsByAttachmentIDs (
ILongArray attachmentIDs,
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 ILongArray, _
ByVal infosOnly As Boolean _
) As IEnumAttachment
public IEnumAttachment GetAttachmentsByParentIDs (
ILongArray 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 | . |