Click or drag to resize
DirectoryHelperDeleteDirectory Method (String, Boolean)
Deletes the directory. It works also in a shared hosting environment.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntax
C#
public static void DeleteDirectory(
	string path,
	bool recursive
)

Parameters

path
Type: SystemString
Full disk path of the directory to delete
recursive
Type: SystemBoolean
If true, the directory is deleted recursively
See Also