Directory.Delete Method
.NET Framework 3.5
Deletes a specified directory.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Delete(String) | Deletes an empty directory from a specified path. |
|
Delete(String, Boolean) | Deletes an empty directory and, if indicated, any subdirectories and files in the directory. |