This documentation is archived and is not being maintained.

Directory.Delete Method

Deletes a specified directory.

Name Description
Directory.Delete (String) Deletes an empty directory from a specified path.

Supported by the .NET Compact Framework.

Directory.Delete (String, Boolean) Deletes the specified directory and, if indicated, any subdirectories in the directory.

Supported by the .NET Compact Framework.

Show: