Click or drag to resize

DirectoryInfo Properties

The DirectoryInfo type exposes the following members.

Properties
 NameDescription
Public propertyAttributes Gets or sets the FileAttributes of the current object.
(Overrides FileSystemInfoAttributes)
Public propertyCreationTime Gets the creation time of the current object.
(Overrides FileSystemInfoCreationTime)
Public propertyExists Determines if the current directory exists on the system.
(Overrides FileSystemInfoExists)
Public propertyExtension Gets the string representing the extension part of the file.
(Overrides FileSystemInfoExtension)
Public propertyFullName Return the full path of the Directory
(Overrides FileSystemInfoFullName)
Public propertyLastAccessTime Gets or sets the time the current file or directory was last accessed.
(Overrides FileSystemInfoLastAccessTime)
Public propertyLastWriteTime Gets or sets the time when the current file or directory was last written to.
(Overrides FileSystemInfoLastWriteTime)
Public propertyName Return the name of the current directory.
(Overrides FileSystemInfoName)
Public propertyParent Get the instance of the Parent Directory.
Public propertyRoot Get the instance of the root directory.
Top
See Also