Click or drag to resize
DocumentHelperDeleteDocumentAttachments Method
Deletes attachments from the specified documents, including versioning consideration.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static void DeleteDocumentAttachments(
	string className,
	string guidColumnName,
	TreeProvider tree
)

Parameters

className
Type: SystemString
Document class name
guidColumnName
Type: SystemString
Column containing the Attachment GUID
tree
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
See Also