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






File.Delete

  

Imports System.IO

Public Class Tester
    Public Shared Sub Main
        Dim f As File

        f.Delete("test.txt")
    End Sub

End Class

   
    
  








Related examples in the same category

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