The following tables list the members exposed by the Directory type.
| Name | Description | |
|---|---|---|
|
CreateDirectory(string) | Create a directory |
|
Delete(string) | Delete a directory |
|
Delete(string, bool) | Delete a directory |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). |
|
Exists(string) | Does a directory exist? |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). |
|
GetDirectories(string) | Get all sub directories |
|
GetFileInfos(string, string, SearchOption) | Get all files in a directory |
|
GetFiles(string) | Get all the files under a path |
|
GetFiles(string, string, SearchOption) | Get all files in a directory |
|
GetFiles(string, string) | |
|
GetHashCode | Serves as the default hash function. (inherited from Object). |
|
GetParent(string) | |
|
GetType | Gets the Type of the current instance. (inherited from Object). |
|
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). |
|
Move(string, string) | Move a directory |
|
ToString | Returns a string that represents the current object. (inherited from Object). |