Click or drag to resize
FileAppendAllText Method (String, String, Encoding)
Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file.

Namespace: CMS.AzureStorage
Assembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 12.0.0
Syntax
C#
public override void AppendAllText(
	string path,
	string contents,
	Encoding encoding
)

Parameters

path
Type: SystemString
Path
contents
Type: SystemString
Content to write.
encoding
Type: System.TextEncoding
The character encoding to use
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null
ArgumentExceptionpath is empty or contains invalid characters
PathTooLongExceptionpath is too long
See Also