AttachmentInfoProviderDeleteFile Method |
Delete all files with the same name ([name].*) in specified directory.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax public static void DeleteFile(
Guid fileGuid,
string siteName,
bool deleteDirectory,
bool synchronization = false
)
Parameters
- fileGuid
- Type: SystemGuid
GUID of the file to delete - siteName
- Type: SystemString
Site name - deleteDirectory
- Type: SystemBoolean
Determines whether delete specified directory or not - synchronization (Optional)
- Type: SystemBoolean
Indicates whether the method is called due to synchronization
See Also