Solution WriterWrite Solution As XML Method
Writes the solution to a file in an XML format.
Definition
Namespace: SRS.ScheduleSolver.Tools
Assembly: ScheduleSolver (in ScheduleSolver.dll) Version: 2.6.0+d867f7e856f281547f683ef6449a86e433a2356d
True if successful, false otherwise.
Assembly: ScheduleSolver (in ScheduleSolver.dll) Version: 2.6.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public static bool WriteSolutionAsXML(
Solution solution,
string filePath,
string problemFilePath
)VB
Public Shared Function WriteSolutionAsXML (
solution As Solution,
filePath As String,
problemFilePath As String
) As BooleanC++
public:
static bool WriteSolutionAsXML(
Solution^ solution,
String^ filePath,
String^ problemFilePath
)F#
static member WriteSolutionAsXML :
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.