DeleteDirectory Method
See Also 
SourceCode.Workflow.Design.InfoPath.FormTemplate Namespace > Utilities Class : DeleteDirectory Method



Glossary Item Box

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.

Overload List

OverloadDescription
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)  

Requirements

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

See Also