Input and Output Classes
- slide 29 : 40
Members in class DirectoryInfo
Instance properties and instance methods of class
DirectoryInfo
A single constructor
DirectoryInfo(string)
Properties (getters) that access information about the current directory
Examples:
CreationTime
,
LastAccessTime
,
Exists
,
Name
,
FullName
Directory Navigation operations
Up:
Parent
,
Root
Down:
GetDirectories
,
GetFiles
,
GetFileSystemInfo
(all overloaded)
Classical directory manipulations
Create
,
MoveTo
,
Delete
Others
Refresh
, ...
The class
DirectoryInfo
and
FileInfo
have a common, abstract superclass called
FileSystemInfo