AppendText()

File::AppendText(const String&) 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)

Arguments

ParameterTypeDescription
pathconst String&The path of the file to open or create

Return Value

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

See Also