DirectoryDeleteEmptySubdirectories Method (KernelTransaction, String, Boolean, Boolean) |
[AlphaFS] Deletes empty subdirectories from the specified directory.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void DeleteEmptySubdirectories(
KernelTransaction transaction,
string path,
bool recursive,
bool ignoreReadOnly
)
Public Shared Sub DeleteEmptySubdirectories (
transaction As KernelTransaction,
path As String,
recursive As Boolean,
ignoreReadOnly As Boolean
)
public:
static void DeleteEmptySubdirectories(
KernelTransaction^ transaction,
String^ path,
bool recursive,
bool ignoreReadOnly
)
static member DeleteEmptySubdirectories :
transaction : KernelTransaction *
path : string *
recursive : bool *
ignoreReadOnly : bool -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - 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. - ignoreReadOnly
- Type: SystemBoolean
overrides read only FileAttributes of empty directories.
Exceptions See Also