 | CAEXDocumentSaveToFileAsync Method |
Saves the CAEX document to the specified file path asycncronously
Namespace: Aml.Engine.CAEXAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic virtual Task SaveToFileAsync(
string filename,
bool prettyPrint,
CancellationToken cancellationToken = default
)
Public Overridable Function SaveToFileAsync (
filename As String,
prettyPrint As Boolean,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ SaveToFileAsync(
String^ filename,
bool prettyPrint,
CancellationToken cancellationToken = CancellationToken()
)
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
Taskawaitable task
Exceptions
See Also