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