Directory.Delete Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Public method Static member Delete(String) Deletes an empty directory from a specified path.
Public method Static member Delete(String, Boolean) Deletes the specified directory and, if indicated, any subdirectories and files in the directory.

© 2015 Microsoft