ReparsePointAware.OpenWrite(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.
Opens an existing file or creates a new file for writing. If the file's canonical path contains Windows Reparse Points, UnauthorizedAccessException is thrown.
public static System.IO.FileStream OpenWrite (string path);
static member OpenWrite : string -> System.IO.FileStream
Public Shared Function OpenWrite (path As String) As FileStream
Parameters
- path
- String
Full path to the target file.
Returns
A file stream to the file being opened. Caller is responsible for disposing of the file stream when operations are complete.
Exceptions
The path contains Windows Reparse Points or otherwise cannot be accessed.