KnowledgeBase.LoadFrom(string) method
Restores the knowledge base from an XML file.
Namespace : ielib
Assembly : ielib.dll
public bool LoadFrom(string aXmlFileName)ParametersType : System.String
aXmlFileName: The name of an XML file used to restore the knowledge base of the instance.
Return valueType : System.Boolean
true If the XML file is found and restored, otherwise
false Remarque : The
KnowledgeBase(string) constructor calls this method to restore the knowledge base.
Example
KnowledgeBase kb = new KnowledgeBase();
if (!kb.LoadFrom("MyBase.xml"))
MessageBox.Show("File MyBase.xml is not found");
Exception: Syntax error in the construction of the object Premise or Conclusion.