My bad, it's actually DirectoryInfo and it's GetFiles method.
Dim rootFolder As DirectoryInfo("C:\somePath")
Dim txtFiles() As FileInfo
txtFiles = rootFolder.GetFiles("*.txt")
Then it's a simple matter of enumerating over the txtFiles collection and adding up the Length properties of each FileInfo object.