FileAppendText Method (String, PathFormat) |
[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 AppendText(
string path,
PathFormat pathFormat
)
Public Shared Function AppendText (
path As String,
pathFormat As PathFormat
) As StreamWriter
public:
static StreamWriter^ AppendText(
String^ path,
PathFormat pathFormat
)
static member AppendText :
path : string *
pathFormat : PathFormat -> StreamWriter
Parameters
- 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:
StreamWriterA stream writer that appends UTF-8 encoded text to the specified file or to a new file.
Exceptions See Also