AttachmentInfoProviderDeleteAttachmentInfo Method (Int32, Boolean) |
Deletes specified attachment.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public static void DeleteAttachmentInfo(
int attachmentId,
bool deletePhysicalFile = true
)
Parameters
- attachmentId
- Type: SystemInt32
Attachment id - deletePhysicalFile (Optional)
- Type: SystemBoolean
Delete physical file
See Also