System::IO::File::AppendAllText method

File::AppendAllText 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())
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