FileInfo.Extension : FileInfo « System.IO « VB.Net by API






FileInfo.Extension

  

Public Class Tester
    Public Shared Sub Main
    
        Dim fileDetail As IO.FileInfo


        fileDetail = My.Computer.FileSystem.GetFileInfo("test.txt")

        Console.WriteLine(fileDetail.Extension)
    End Sub

End Class

   
    
  








Related examples in the same category

1.FileInfo.CreationTime
2.FileInfo.FullName
3.FileInfo.IsReadOnly
4.FileInfo.LastAccessTime
5.FileInfo.LastWriteTime
6.FileInfo.Length