DirectoryDeleteTransacted Method (KernelTransaction, String, Boolean, Boolean) |
[AlphaFS] Deletes the specified directory and, if indicated, any subdirectories in the directory.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void DeleteTransacted(
KernelTransaction transaction,
string path,
bool recursive,
bool ignoreReadOnly
)
Public Shared Sub DeleteTransacted (
transaction As KernelTransaction,
path As String,
recursive As Boolean,
ignoreReadOnly As Boolean
)
public:
static void DeleteTransacted(
KernelTransaction^ transaction,
String^ path,
bool recursive,
bool ignoreReadOnly
)
static member DeleteTransacted :
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. - recursive
- Type: SystemBoolean
to remove directories, subdirectories, and files in path. otherwise. - ignoreReadOnly
- Type: SystemBoolean
overrides read only FileAttributes of files and directories.
Exceptions See Also