Utilities.DeleteDirectory(String, Boolean) Method

Definition

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

Applies to