Utilities.DeleteDirectory(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delete directory helper that also waits for delete to completely propagate through the system.
public static void DeleteDirectory (string targetDir, bool waitForDirectoryDelete = false);
static member DeleteDirectory : string * bool -> unit
Public Sub DeleteDirectory (targetDir As String, Optional waitForDirectoryDelete As Boolean = false)
Parameters
- targetDir
- String
- waitForDirectoryDelete
- Boolean