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: 8.2.23
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