KnowledgeBase.GetRuleById(int) method
Returns an object of the Rule class specified by its identifier.
Namespace : ielib
Assembly : ielib.dll
public Rule GetRuleById(int Id)ParametersType : System.Int32.
Id : represents the ID of a rule.
Return valueType : ielib.Rule
The object of the Rule class that has the identifier specified is found, otherwise null
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.