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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static void DeleteAttachmentInfo(
	int attachmentId,
	bool deletePhysicalFile = true
)

Parameters

attachmentId
Type: SystemInt32
Attachment id
deletePhysicalFile (Optional)
Type: SystemBoolean
Delete physical file
See Also