AppendAllText(FileInfo, string) Method

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: Z.IO.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static Void AppendAllText(this FileInfo this, string contents)

Parameters

this
Type:  FileInfo
The file to append the specified string to.
contents
Type:  String
The string to append to the file.

Return Value

Type:  Void
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)