File.AppendText : File « System.IO « VB.Net by API






File.AppendText

  
Imports System.IO


Public Class Tester
    Public Shared Sub Main
        Dim w As StreamWriter
        w = File.AppendText("test.txt")

        w.Write("it is writing data")
        w.WriteLine(1)
        w.WriteLine("writeline")
        w.WriteLine("True")
        w.Close()
    End Sub

End Class

   
    
  








Related examples in the same category

1.File.Copy
2.File.CreateText
3.File.Delete
4.File.Exists
5.File.GetCreationTime
6.File.GetLastAccessTime
7.File.GetLastWriteTime
8.File.Move
9.File.OpenRead