File.AppendAllText Method (String, String, Encoding, PathFormat)
Click or drag to resize
FileAppendAllText Method (String, String, Encoding, PathFormat)
[AlphaFS] Appends the specified string to the file, creating the file if it does not already exist.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static void AppendAllText(
	string path,
	string contents,
	Encoding encoding,
	PathFormat pathFormat
)

Parameters

path
Type: SystemString
The file to append the specified string to.
contents
Type: SystemString
The string to append to the file.
encoding
Type: System.TextEncoding
The character Encoding to use.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Exceptions
See Also