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