| PortalGetAttachmentTabEx Method |
This method retrieves details of attachments in the Attachment tab of an object item in XML format.
Namespace: PortalServiceC#
public long GetAttachmentTabEx( long objectType, long objectID, long tabID, out string strXML, out string error )
Parameters
- objectType
- Type: SystemInt64
[in]The ID of the object. - objectID
- Type: SystemInt64
[in]The ID of the object item for which Attachment tab details must be retrieved. - tabID
- Type: SystemInt64
[in]The ID of the Attachment tab associated with the object item. - strXML
- Type: SystemString
[out]The XML format of attachment details in the Attachment tab. This format contains the name of the attachment, comments about the attachment, the text content of the attachment, a boolean value to indicate if the attachment needs to be deleted, and the ID of the attachment. The XML is blank if attachments are not available in the Attachment Tab. - error
- Type: SystemString
[out]The error message returned if the operation fails.
Return Value
Type: Int64This method returns 0 if the operation is successful and a negative value if the operation fails.