Fact.GetRulePremiseById(int) method
Gets the rule by its identifier containing the premise to.
Namespace : ielib
Assembly : ielib.dll
public Rule GetRulePremiseById(int RuleId)ParametersType: System.Int32
RuleId: Represents the ID of a rule.
Return valueType : ielib.Rule
Represents an object of the class Rule.
Note : The ID of a rule is distributed by the
RulesBase class when
KnowledgeBase.Add(Rule) method is used to add a rule to the knowledge base. Gets the ID of a rule by the
Rule.Id property.