DirectoryIsEmptyTransacted Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Determines whether the given directory is empty; i.e. it contains no files and no subdirectories.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static bool IsEmptyTransacted(
KernelTransaction transaction,
string directoryPath,
PathFormat pathFormat
)
Public Shared Function IsEmptyTransacted (
transaction As KernelTransaction,
directoryPath As String,
pathFormat As PathFormat
) As Boolean
public:
static bool IsEmptyTransacted(
KernelTransaction^ transaction,
String^ directoryPath,
PathFormat pathFormat
)
static member IsEmptyTransacted :
transaction : KernelTransaction *
directoryPath : string *
pathFormat : PathFormat -> bool
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - directoryPath
- Type: SystemString
The path to the directory. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
BooleanReturns when the directory contains no file system objects.
Returns when directory contains at least one file system object.
See Also