File: WriteAllText |
Opens a files, writes out all contents to the file, then closes the file.
Public Sub WriteAllText( ByRef Path As String, ByRef Contents As String, Optional ByVal Encoding As Encoding )
If the file does not exist, it will be created. If the file already exists, it will be overwritten.