DocumentHelperDeleteAttachment Method (TreeNode, Guid) |
Namespace: CMS.DocumentEngine
public static void DeleteAttachment( TreeNode node, Guid attachmentGuid )
Exception | Condition |
---|---|
InvalidOperationException | Deleting of attachment variants is not supported. Use AttachmentInfoProvider or AttachmentHistoryInfoProvider to handle attachment variants. |