DirectoryExistsTransacted Method (KernelTransaction, String) |
[AlphaFS] Determines whether the given path refers to an existing directory on disk.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static bool ExistsTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function ExistsTransacted (
transaction As KernelTransaction,
path As String
) As Boolean
public:
static bool ExistsTransacted(
KernelTransaction^ transaction,
String^ path
)
static member ExistsTransacted :
transaction : KernelTransaction *
path : string -> bool
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path to test.
Return Value
Type:
BooleanReturns if path refers to an existing directory.
Returns if the directory does not exist or an error occurs when trying to determine if the specified file exists.
Remarks
The Exists method returns if any error occurs while trying to determine if the specified file exists.
This can occur in situations that raise exceptions such as passing a file name with invalid characters or too many characters,
a failing or missing disk, or if the caller does not have permission to read the file.
See Also