DirectoryInfo Properties |
The DirectoryInfo type exposes the following members.
Name | Description | |
---|---|---|
Exists | Gets a value indicating whether the file or directory exists. (Inherited from FileSystemInfo.) | |
Extension | Gets the string representing the extension part of the file. (Inherited from FileSystemInfo.) | |
FullName | Gets the full path of the directory or file. (Inherited from FileSystemInfo.) | |
Name | For files, gets the name of the file. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the Name property gets the name of the directory. (Inherited from FileSystemInfo.) |