Utilities.EnsureCleanDirectory(String) 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.
Deletes a directory then waits for it to be flushed in the system as deleted before creating. Sometimes deleting and creating to quickly will result in an exception.
public:
static void EnsureCleanDirectory(System::String ^ path);
public static void EnsureCleanDirectory (string path);
static member EnsureCleanDirectory : string -> unit
Public Sub EnsureCleanDirectory (path As String)
Parameters
- path
- String