System::IO::File::OpenWrite method

File::OpenWrite method

Opens the specified file for writing only, in ‘OpenOrCreate’ mode with no sharing.

static FileStreamPtr System::IO::File::OpenWrite(const String &path)
ParameterTypeDescription
pathconst String&The path of the file to open

ReturnValue

A FileStream object associated with the opened file

See Also