Click or drag to resize
DocumentHelperDeleteDocumentAttachments Method
Deletes attachments bound to the specified field (file field or group attachments field)

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static void DeleteDocumentAttachments(
	string className,
	FormFieldInfo field
)

Parameters

className
Type: SystemString
Document class name
field
Type: CMS.FormEngineFormFieldInfo
Form field object which contains information to remove its attachments
See Also