Click or drag to resize

CAEXDocumentSaveToFileAsync Method

Saves the CAEX document to the specified file path asycncronously

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public virtual Task SaveToFileAsync(
	string filename,
	bool prettyPrint,
	CancellationToken cancellationToken = default
)

Parameters

filename  String
The file path to save the document to.
prettyPrint  Boolean
Set to true, if pretty printing is desired.
cancellationToken  CancellationToken  (Optional)
The cancellation token

Return Value

Task
awaitable task
Exceptions
ExceptionCondition
ArgumentNullExceptionfilename
See Also