Click or drag to resize
DirectoryInfo Properties

The DirectoryInfo type exposes the following members.

Properties
  NameDescription
Public propertyExists
Gets a value indicating whether the file or directory exists.
(Inherited from FileSystemInfo.)
Public propertyExtension
Gets the string representing the extension part of the file.
(Inherited from FileSystemInfo.)
Public propertyFullName
Gets the full path of the directory or file.
(Inherited from FileSystemInfo.)
Public propertyName
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.)
Top
See Also