Click or drag to resize
DocumentHelperDeleteAttachment Method (TreeNode, Guid, TreeProvider)
Deletes attachment from the given document node, including versioning consideration.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static void DeleteAttachment(
	TreeNode node,
	Guid attachmentGuid,
	TreeProvider tree
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
attachmentGuid
Type: SystemGuid
Attachment GUID
tree
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
See Also