FileAppendTextTransacted Method (KernelTransaction, String) |
[AlphaFS] Creates a
StreamWriter that appends UTF-8 encoded text to an existing file, or to a new file if the specified file does not exist.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static StreamWriter AppendTextTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function AppendTextTransacted (
transaction As KernelTransaction,
path As String
) As StreamWriter
public:
static StreamWriter^ AppendTextTransacted(
KernelTransaction^ transaction,
String^ path
)
static member AppendTextTransacted :
transaction : KernelTransaction *
path : string -> StreamWriter
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path to the file to append to.
Return Value
Type:
StreamWriterA stream writer that appends UTF-8 encoded text to the specified file or to a new file.
Exceptions See Also