System::IO::File::AppendText method

File::AppendText method

Creates a StreamWriter object that appends text to the specified file using UTF-8 encoding. If the specified file does not exist, it is created.

static StreamWriterPtr System::IO::File::AppendText(const String &path)
ParameterTypeDescription
pathconst String&The path of the file to open or create

ReturnValue

A shared pointer to the created StreamWriter object associated with the specified file

See Also