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