Methods | DocumentItem.ClearAttachments Method
Clears the attachments assigned to this document.
Syntax
C#
Copy
public void ClearAttachments( bool forceUpdateParent = true )
Parameters
forceUpdateParent Boolean (Optional)
When set to true the Parent reference on any attachment will be set to null; otherwise, the reference will remain.