Solution PrinterPrint Solution As XML Method
Writes the solution to a file in an XML format.
Definition
Namespace: SRS.ShiftSolver.Tools
Assembly: ShiftSolver (in ShiftSolver.dll) Version: 2.3.0+2c0a765360648175f37b32b9a08ecd256c911c4c
True if successful, false otherwise.
Assembly: ShiftSolver (in ShiftSolver.dll) Version: 2.3.0+2c0a765360648175f37b32b9a08ecd256c911c4c
C#
public static bool PrintSolutionAsXML(
Solution solution,
string filePath,
string problemFilePath
)VB
Public Shared Function PrintSolutionAsXML (
solution As Solution,
filePath As String,
problemFilePath As String
) As BooleanC++
public:
static bool PrintSolutionAsXML(
Solution^ solution,
String^ filePath,
String^ problemFilePath
)F#
static member PrintSolutionAsXML :
solution : Solution *
filePath : string *
problemFilePath : string -> bool Parameters
- solution Solution
- The solution to write.
- filePath String
- The output file path.
- problemFilePath String
- 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
BooleanTrue if successful, false otherwise.