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