FileCreateTextTransacted Method (KernelTransaction, String) |
[AlphaFS] Creates or opens a file for writing UTF-8 encoded text.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static StreamWriter CreateTextTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function CreateTextTransacted (
transaction As KernelTransaction,
path As String
) As StreamWriter
public:
static StreamWriter^ CreateTextTransacted(
KernelTransaction^ transaction,
String^ path
)
static member CreateTextTransacted :
transaction : KernelTransaction *
path : string -> StreamWriter
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file to be opened for writing.
Return Value
Type:
StreamWriterA StreamWriter that writes to the specified file using UTF-8 encoding.
See Also