Click or drag to resize

SolutionPrinterPrintSolutionAsXML Method

Writes the solution to a file in an XML format.

Namespace:  SRS.ShiftSolver.Tools
Assembly:  ShiftSolver (in ShiftSolver.dll) Version: 2.2.0.0
Syntax
public static bool PrintSolutionAsXML(
	Solution solution,
	string filePath,
	string problemFilePath
)

Parameters

solution
Type: SRS.ShiftSolver.CoreSolution
The solution to write.
filePath
Type: SystemString
The output file path.
problemFilePath
Type: SystemString
The path of the problem file. If the problem file path is included then it will include a tag in the XML which will alow the solution xml file to be opened using RosterViewer.

Return Value

Type: Boolean
True if successful, false otherwise.
See Also

www.staffrostersolutions.com | support