May 2010
Intermediate to advanced
1272 pages
61h 18m
English
System.IO.DirectoryInfo ClassThe System.IO.DirectoryInfo class represents a single directory. More precisely, an instance of the DirectoryInfo class handles information about the specified directory. It inherits from System.IO.FileSystemInfo, which is a base class that provides the basic infrastructure for representing directories or files. You create an instance of the DirectoryInfo class passing the desired directory name as an argument to the constructor:
Dim di As New DirectoryInfo("C:\Demo")
Basically you have the same members that you already learned about for the Directory class, with some differences. First, now members are instance members and not shared. Second, methods summarized in Table 19.1 are now properties. Third, members ...
Read now
Unlock full access