Parameters
- path
Type: System.String
Path to the file.
- text
Type: System.String
Text to append.
- appendNewLine
Type: System.Boolean
true if append text in a new line; otherwise, false.
The following example shows call the FileAppendString method.
| C# | Copy Code |
|---|---|
string path = {pathToFile}; string text = "it is new line in the file!"; bool appendNewLine = true; FileSystem.FileAppendString(path, text, appendNewLine); | |
| PHP | Copy Code |
|---|---|
$path = {pathToFile}; $text = "it is new line in the file!"; $appendNewLine = true; FileSystem::FileAppendString($path, $text, $appendNewLine); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family