DirectoryInfoExtensionsForceDelete Method

Overload List

ForceDelete(DirectoryInfo) Forces the deletion of the specified directory if it is empty, by removing the read-only attribute and deleting it.
ForceDelete(DirectoryInfo, Boolean) Forces the deletion of the specified directory, specifying whether to delete subdirectories and files by removing the read-only attribute and deleting them.

See Also