FileAppendText Method (String, Encoding) |
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.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static StreamWriter AppendText(
string path,
Encoding encoding
)
Public Shared Function AppendText (
path As String,
encoding As Encoding
) As StreamWriter
public:
static StreamWriter^ AppendText(
String^ path,
Encoding^ encoding
)
static member AppendText :
path : string *
encoding : Encoding -> StreamWriter
Parameters
- path
- Type: SystemString
The path to the file to append to. - encoding
- Type: System.TextEncoding
The character Encoding to use.
Return Value
Type:
StreamWriter
A stream writer that appends NativeMethods.DefaultFileEncoding encoded text to the specified file or to a new file.
See Also