The DeleteFile method deletes a file.

Namespace: DotNetNuke.Services.Installer
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void DeleteFile(
	InstallFile installFile,
	string basePath,
	Logger log
)
Visual Basic
Public Shared Sub DeleteFile ( 
	installFile As InstallFile,
	basePath As String,
	log As Logger
)

Parameters

installFile
Type: DotNetNuke.Services.Installer..::..InstallFile
The file to delete
basePath
Type: System..::..String
The basePath to the file
log
Type: DotNetNuke.Services.Installer.Log..::..Logger
A Logger to log the result

See Also