FileAppendAllText Method (String, String, Encoding) |
Appends the specified string to the file, creating the file if it does not already exist.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void AppendAllText(
string path,
string contents,
Encoding encoding
)
Public Shared Sub AppendAllText (
path As String,
contents As String,
encoding As Encoding
)
public:
static void AppendAllText(
String^ path,
String^ contents,
Encoding^ encoding
)
static member AppendAllText :
path : string *
contents : string *
encoding : Encoding -> unit
Parameters
- path
- Type: SystemString
The file to append the specified string to. - contents
- Type: SystemString
The string to append to the file. - encoding
- Type: System.TextEncoding
The character Encoding to use.
Exceptions See Also