DevForce Help Reference
DeleteDirectory Method


This method is intended to work around a bug with Directory.Delete sometimes failing with "Directory is not empty" error. It does a recursive delete of the entire dir structure under the specified path
Syntax
'Declaration
 
Public Shared Sub DeleteDirectory( _
   ByVal pPath As String _
) 
'Usage
 
Dim pPath As String
 
FileFns.DeleteDirectory(pPath)
public static void DeleteDirectory( 
   string pPath
)

Parameters

pPath
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

Reference

FileFns Class
FileFns Members

Send Feedback