BuildMaster SDK Reference
Version:

Delete(string path) Method

Deletes a file if it exists.

Syntax

public static void Delete(string path)

Parameters

path
Type: string

Path of the file to delete.

Exceptions

System.ArgumentNullException

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