In The Hand LtdIn The Hand
AppendAllText Method (path, contents, encoding)
NamespacesInTheHand.IOFileHelperAppendAllText(String, String, Encoding)
.NET Components for Mobility
Appends the specified string to the file, creating the file if it does not already exist.
Declaration Syntax
C#Visual Basic
public static void AppendAllText(
	string path,
	string contents,
	Encoding encoding
Public Shared Sub AppendAllText ( _
	path As String, _
	contents As String, _
	encoding As Encoding _
path (String)
The file to append the specified string to.
contents (String)
The string to append to the file.
encoding (Encoding)
The character encoding to use.
ArgumentNullExceptionEither path or contents is a null reference (Nothing in Visual Basic).
IOExceptionAn I/O error occurred while opening the file.

Assembly: InTheHand (Module: InTheHand) Version: