Method DeleteFile DeleteFile(String) Removes an existing file in the directory. Declaration public void DeleteFile(string name) Parameters Type Name Description System.String name