AbstractDirectoryDelete Method (String, Boolean) |
Deletes an empty directory and, if indicated, any subdirectories and files in the directory.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 9.0.0
Syntax public abstract void Delete(
string path,
bool recursive
)
Parameters
- path
- Type: SystemString
Path to directory - recursive
- Type: SystemBoolean
If delete if subdirs exists
See Also