string WriteFileText(string filePath, string text, bool append)

Writes text to a file.

Security

Trust Level Required: Full Trust

Parameters

Name Description
filePath The path to the file to write.
bytes The text to write.
append True to append to the end of the file, false to overwrite the file.

Return

A JSON string where Bool indicates if the function succeeded and Str is an error message on failure.