Click or drag to resize
AttachmentInfoProviderDeleteAttachmentInfo Method (AttachmentInfo, Boolean)
Deletes specified attachment.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static void DeleteAttachmentInfo(
	AttachmentInfo atInfo,
	bool deletePhysicalFile = true
)

Parameters

atInfo
Type: CMS.DocumentEngineAttachmentInfo
Attachment object
deletePhysicalFile (Optional)
Type: SystemBoolean
Delete physical file
See Also