FileAppendAllText Method (String, String, Boolean) |
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.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax public static void AppendAllText(
string path,
string contents,
bool logOperation
)
Parameters
- path
- Type: SystemString
Path - contents
- Type: SystemString
Content to write - logOperation
- Type: SystemBoolean
If true file operation is logged to File log
See Also