DirectoryDeleteEmptySubdirectories Method (String, Boolean) |
[AlphaFS] Deletes empty subdirectories from the specified directory.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void DeleteEmptySubdirectories(
string path,
bool recursive
)
Public Shared Sub DeleteEmptySubdirectories (
path As String,
recursive As Boolean
)
public:
static void DeleteEmptySubdirectories(
String^ path,
bool recursive
)
static member DeleteEmptySubdirectories :
path : string *
recursive : bool -> unit
Parameters
- path
- Type: SystemString
The name of the directory to remove empty subdirectories from. - recursive
- Type: SystemBoolean
deletes empty subdirectories from this directory and its subdirectories.
Exceptions See Also