File.Delete Method
Deletes the specified file. An exception is not thrown if the specified file does not exist.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
public static void Delete (
stringpath
)
Parameters
- path
The name of the file to be deleted.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.