FileCreateTransacted Method (KernelTransaction, String) |
[AlphaFS] Creates or overwrites a file in the specified path.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static FileStream CreateTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function CreateTransacted (
transaction As KernelTransaction,
path As String
) As FileStream
public:
static FileStream^ CreateTransacted(
KernelTransaction^ transaction,
String^ path
)
static member CreateTransacted :
transaction : KernelTransaction *
path : string -> FileStream
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path and name of the file to create.
Return Value
Type:
FileStreamA
FileStream that provides read/write access to the file specified in
path.
See Also