FileWriteAllBytesTransacted Method (KernelTransaction, String, Byte) |
[AlphaFS] Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already
exists, it is overwritten.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void WriteAllBytesTransacted(
KernelTransaction transaction,
string path,
byte[] bytes
)
Public Shared Sub WriteAllBytesTransacted (
transaction As KernelTransaction,
path As String,
bytes As Byte()
)
public:
static void WriteAllBytesTransacted(
KernelTransaction^ transaction,
String^ path,
array<unsigned char>^ bytes
)
static member WriteAllBytesTransacted :
transaction : KernelTransaction *
path : string *
bytes : byte[] -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file to write to. - bytes
- Type: SystemByte
The bytes to write to the file.
See Also