DirectoryInfo Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The DirectoryInfo type exposes the following members.
| Name | Description | |
|---|---|---|
|
Attributes | Gets or sets the FileAttributes of the current FileSystemInfo. (Inherited from FileSystemInfo.) |
|
CreationTime | Gets or sets the creation time of the current FileSystemInfo object. (Inherited from FileSystemInfo.) |
|
Exists | Gets a value indicating whether the directory exists. (Overrides FileSystemInfo.Exists.) |
|
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.) |
|
LastAccessTime | Gets or sets the time 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.) |
|
Name | Gets the name of this DirectoryInfo instance. (Overrides FileSystemInfo.Name.) |
|
Parent | Gets the parent directory of a specified subdirectory. |
|
Root | Gets the root portion of a path. |
Show: