Click or drag to resize
IBizFormFileServiceDeleteFile Method
Deletes file previously saved via the PromoteTempFile(String, String, String, String, String) method.

Namespace: CMS.OnlineForms
Assembly: CMS.OnlineForms (in CMS.OnlineForms.dll) Version: 13.0.131
Syntax
C#
void DeleteFile(
	string fileName,
	string filesFolderPath,
	string siteName
)

Parameters

fileName
Type: SystemString
File name to be used for the file.
filesFolderPath
Type: SystemString
Folder path where uploaded form files are being saved.
siteName
Type: SystemString
Site name the corresponding form belongs to.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when fileName or filesFolderPath is null or an empty string.
See Also