public static void DirectoryDeleteDirectory( string pathToDirectory, bool recursive, bool onlyFromStartupPath )
Parameters
- pathToDirectory
Type: System.String
Path to the directory.
- recursive
Type: System.Boolean
true if removingrecursively; otherwise, false.
- onlyFromStartupPath
Type: System.Boolean
true if not removethe directorydoes notbelong tothe startup directory; otherwise, false.