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