Directory Methods
.NET Framework 3.0
| Name | Description | |
|---|---|---|
| CreateDirectory | Overloaded. Creates all the directories in a specified path. |
| Delete | Overloaded. Deletes a specified directory. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| Exists | Determines whether the given path refers to an existing directory on disk. |
| GetAccessControl | Overloaded. Returns the Windows access control list (ACL) for a directory. |
| GetCreationTime | Gets the creation date and time of a directory. |
| GetCreationTimeUtc | Gets the creation date and time, in Coordinated Universal Time (UTC) format, of a directory. |
| GetCurrentDirectory | Gets the current working directory of the application. |
| GetDirectories | Overloaded. Gets the names of subdirectories in a specified directory. |
| GetDirectoryRoot | Returns the volume information, root information, or both for the specified path. |
| GetFiles | Overloaded. Returns the names of files in a specified directory. |
| GetFileSystemEntries | Overloaded. Returns the names of all files and subdirectories in a specified directory. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetLastAccessTime | Returns the date and time the specified file or directory was last accessed. |
| GetLastAccessTimeUtc | Returns the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last accessed. |
| GetLastWriteTime | Returns the date and time the specified file or directory was last written to. |
| GetLastWriteTimeUtc | Returns the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last written to. |
| GetLogicalDrives | Retrieves the names of the logical drives on this computer in the form "<drive letter>:\". |
| GetParent | Retrieves the parent directory of the specified path, including both absolute and relative paths. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| Move | Moves a file or a directory and its contents to a new location. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| SetAccessControl | Applies access control list (ACL) entries described by a DirectorySecurity object to the specified directory. |
| SetCreationTime | Sets the creation date and time for the specified file or directory. |
| SetCreationTimeUtc | Sets the creation date and time, in Coordinated Universal Time (UTC) format, for the specified file or directory. |
| SetCurrentDirectory | Sets the application's current working directory to the specified directory. |
| SetLastAccessTime | Sets the date and time the specified file or directory was last accessed. |
| SetLastAccessTimeUtc | Sets the date and time, in Coordinated Universal Time (UTC) format, that the specified file or directory was last accessed. |
| SetLastWriteTime | Sets the date and time a directory was last written to. |
| SetLastWriteTimeUtc | Sets the date and time, in Coordinated Universal Time (UTC) format, that a directory was last written to. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |