Deletes an existing file

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

Syntax

C#
bool DeleteFile(
	int fileId
)
Visual Basic
Function DeleteFile ( 
	fileId As Integer
) As Boolean

Parameters

fileId
Type: System..::..Int32
The ide of the folder to delete

Return Value

True if the file has been correctly deleted, false otherwise

See Also