SaveToTextFile(String,String,Boolean) Method
Save or append text into a text file, saves using a default encoding as UTF-8.
Parameters
- contents
- Text contents to write into the file
- path
- Path of the destination file.
- append
- Set to true if we need to append contents to an existing file, otherwise it will overwrite the file.
Return Value
returns true if file saved without any issues.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2