Append
Opens a file to append text.
SYNTAX
|
Append(string fileName)
Append(string fileName, string encoding)
|
ARGUMENTS
|
fileName
|
The path to the file to append.
|
encoding
|
You can use the following values as encoding parameters.
- Empty string. In this case, the default encoding (ANSI code
page of the operating system) is used.
- Code page. For example, "1252."
- Name. For example, "windows-1252."
- User-friendly name. For example, "Western European"
(Windows).
For a list of possible encoding parameters, see
Encoding parameters.
|
|
EXAMPLE
|
File.Append("c:\temp\test.txt")
|