KnowledgeBase.GetFactById(int) method
Returns an object of the Fact class specified by its identifier.
Namespace : ielib
Assembly : ielib.dll
public Fact GetFactById(int Id)ParametersType : System.Int32.
Id : represents the ID of a fact.
Return valueType : ielib.Fact
The purpose of the Fact class that has the identifier specified is found, otherwise null
Note:The identifier of a fact is distributed by the
FactsBase class when the
KnowledgeBase.Add(Fact) method is used to add a fact in the knowledge base. It gets the identifier of a fact by the
Fact.Id property.