ReparsePointAware.DeleteFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the specified file. If the file's canonical path contains Windows Reparse Points, UnauthorizedAccessException is thrown and nothing is deleted.
public static void DeleteFile (string path);
static member DeleteFile : string -> unit
Public Shared Sub DeleteFile (path As String)
Parameters
- path
- String
Path to the file to delete.
Exceptions
The path contains Windows Reparse Points or otherwise cannot be accessed.