Click or drag to resize

LocalFileSystemDirectoryDelete Method

Deletes the specified directory and, if indicated, any subdirectories and files in the directory.

Namespace:  callback.ShellBoost.Core.Synchronization
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
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
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also