Click or drag to resize

Output.ToPath Method

Exports the Bill of Materials (BOM) data using the specified template file and saves it to the provided file or directory path.

Namespace: CeliAPS.BomApi
Assembly: BomApi (in BomApi.dll) Version: 1.0.63
Syntax
Task ToPath(
	string outputPath,
	string templateFilename,
	OutputFormatEnum outputFormat = OutputFormatEnum.Default,
	CancellationToken cancellationToken = default
)

Parameters

outputPath  String
The file path for saving the exported BOM data or directory path if template is configured to export multiple files.
templateFilename  String
The filename of the template to be used for exporting.
outputFormat  OutputFormatEnum  (Optional)
Used to determinate the format of output file when generating report to multiple files.
cancellationToken  CancellationToken  (Optional)
A cancellation token that can be used to cancel the export operation.

Return Value

Task
See Also