DirectoryInfo Properties |
The DirectoryInfo type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Gets or sets the attributes for the current file or directory.
(Inherited from FileSystemInfo.) | |
CreationTime | Gets or sets the creation time of the current file or directory. (Inherited from FileSystemInfo.) | |
CreationTimeUtc | Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory. (Inherited from FileSystemInfo.) | |
DisplayPath | Returns the path as a string. (Inherited from FileSystemInfo.) | |
EntryInfo | [AlphaFS] Gets the instance of the FileSystemEntryInfo class. (Inherited from FileSystemInfo.) | |
Exists | Gets a value indicating whether the directory exists. (Overrides FileSystemInfoExists.) | |
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.) | |
IsDirectory | [AlphaFS] The initial "IsDirectory" indicator that was passed to the constructor. (Inherited from FileSystemInfo.) | |
LastAccessTime | Gets or sets the time the current file or directory was last accessed. (Inherited from FileSystemInfo.) | |
LastAccessTimeUtc | Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed. (Inherited from FileSystemInfo.) | |
LastWriteTime | Gets or sets the time when the current file or directory was last written to. (Inherited from FileSystemInfo.) | |
LastWriteTimeUtc | Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to. (Inherited from FileSystemInfo.) | |
LongFullName | The full path of the file system object in Unicode (LongPath) format. (Inherited from FileSystemInfo.) | |
Name | Gets the name of this DirectoryInfo instance. (Overrides FileSystemInfoName.) | |
Parent | Gets the parent directory of a specified subdirectory. | |
Root | Gets the root portion of the directory. | |
Transaction | [AlphaFS] Represents the KernelTransaction that was passed to the constructor. (Inherited from FileSystemInfo.) |