DirectoryCreateDirectoryTransacted Method (KernelTransaction, String) |
[AlphaFS] Creates all directories and subdirectories in the specified path unless they already exist.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static DirectoryInfo CreateDirectoryTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function CreateDirectoryTransacted (
transaction As KernelTransaction,
path As String
) As DirectoryInfo
public:
static DirectoryInfo^ CreateDirectoryTransacted(
KernelTransaction^ transaction,
String^ path
)
static member CreateDirectoryTransacted :
transaction : KernelTransaction *
path : string -> DirectoryInfo
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The directory to create.
Return Value
Type:
DirectoryInfoAn object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists.
Exceptions See Also