The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
File::AppendAllText Method
.NET Framework (current version)
Appends the specified stringto the file, creating the file if it does not already exist.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | AppendAllText(String^, String^) | Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file. |
![]() ![]() | AppendAllText(String^, String^, Encoding^) | Appends the specified string to the file, creating the file if it does not already exist. |
Show:

