AceQL HTTP C# Client SDK v2.0

PortableFile..::..AppendAllTextAsync Method

Opens a IFile, 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:  AceQL.Client.Api.File
Assembly:  AceQL.Client (in AceQL.Client.dll)

Syntax


public static Task AppendAllTextAsync(
	IFile file,
	string contents
)

Parameters

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

Return Value

Exceptions


ExceptionCondition
ArgumentNullExceptionThe file is null.