AttachmentInfoProviderDeleteAttachmentInfo Method (AttachmentInfo, Boolean) |
Deletes specified attachment.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax 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