Directory |
The DirectoryInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| Create | Create the current directory. | |
| CreateSubdirectory | Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the DirectoryInfo class. | |
| Delete |
Delete the current directory.
(Overrides FileSystemInfoDelete) | |
| Delete(Boolean) | Deletes this instance of a DirectoryInfo, specifying whether to delete subdirectories and files. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetDirectories | Return the subdirectories of the current instance. | |
| GetDirectories(String) | Return the subdirectories of the current instance that match the specified search pattern. | |
| GetFiles | Return the files of the current directory. | |
| GetFiles(String) | Return the files of the current directory that match the specified search pattern. | |
| GetFileSystemInfos | Returns an array of strongly typed FileSystemInfo entries representing all the files and subdirectories in a directory. | |
| GetFileSystemInfos(String) | Retrieves an array of strongly typed FileSystemInfo objects representing the files and subdirectories matching the specified search criteria. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MoveTo | Moves the specified directory and contents to the destination location. | |
| Refresh |
Refreshes the state of the object.
(Overrides FileSystemInfoRefresh) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |