| DocumentHelperUpdateAttachment Method | 
Namespace: CMS.DocumentEngine
public static void UpdateAttachment( TreeNode node, DocumentAttachment attachment )
| Exception | Condition | 
|---|---|
| ArgumentNullException | node or attachment is null. | 
| InvalidOperationException | Updating of attachment variants is not supported. Use AttachmentInfoProvider or AttachmentHistoryInfoProvider to handle attachment variants data. |