DirectoryHelperDeleteDirectory Method (String, Boolean) |
Deletes the directory. It works also in a shared hosting environment.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax 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