FileAppendText Method (KernelTransaction, String, PathFormat) |
Creates a
StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or
to a new file if the specified file does not exist.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static StreamWriter AppendText(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function AppendText (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As StreamWriter
public:
static StreamWriter^ AppendText(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member AppendText :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> StreamWriter
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path to the file to append to. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
StreamWriter
A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file.
See Also