LocalFileSystemDirectoryDelete Method |
Deletes the specified directory and, if indicated, any subdirectories and files in the directory.
Namespace:
ShellBoost.Core.Synchronization
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax protected virtual void DirectoryDelete(
string fullPath,
bool recursive = false,
bool throwOnError = true
)
Parameters
- fullPath
- Type: SystemString
The path of the directory to remove. - recursive (Optional)
- Type: SystemBoolean
true to remove directories, subdirectories, and files in path; otherwise, false. - throwOnError (Optional)
- Type: SystemBoolean
if set to true errors may be throw in case of errors.
Exceptions See Also