AppendAllText()

File::AppendAllText(const String&, const String&, const EncodingPtr&) method

Appends the specified string to the specified file using the specified encoding.

static void System::IO::File::AppendAllText(const String &path, const String &contents, const EncodingPtr &encoding=Text::Encoding::get_UTF8Unmarked())

Arguments

ParameterTypeDescription
pathconst String&The path of the file to append the string to
contentsconst String&The string to write to the file
encodingconst EncodingPtr&The character encoding to use

See Also