Overload | Description |
---|---|
DeleteDirectory(DirectoryInfo) | Deletes the directory with all its contents. If any errors occur whilst the directory is deleted, by default the errors are not raised. If you want the errors to be raised use the overload where you can specify to raise errors. |
DeleteDirectory(DirectoryInfo,Boolean) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2