OpenWrite()

File::OpenWrite(const String&) method

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

static FileStreamPtr System::IO::File::OpenWrite(const String &path)

Arguments

ParameterTypeDescription
pathconst String&The path of the file to open

Return Value

A FileStream object associated with the opened file

See Also