BuildMaster SDK Reference
Version:

Delete(string path) Method

Deletes the specified directory and all of its contents.

Syntax

public static void Delete(string path)

Parameters

path
Type: string

The path of the directory to delete.

Exceptions

System.ArgumentNullException

path is null (Nothing in Visual Basic) or empty.