DynamicDOM v0.43.2. Implementation based on XRules v0.43

RuleErrorList.IndexOfRuleInstance Method 

Returns the zero based index of the RuleError objects that points to te specified ruleInstance. Or, -1 if not found.

[Visual Basic]
Public Function IndexOfRuleInstance( _ 
   ByVal ruleInstance As RuleInstance _ 
) As Integer
public int IndexOfRuleInstance(
   RuleInstance ruleInstance
public: int IndexOfRuleInstance(
   RuleInstance* ruleInstance
public function IndexOfRuleInstance(
   RuleInstance ruleInstance
): int;


The RuleInstance object for which the search is being performed.

Return Value

The zero-based index of the RuleError object that points to the specified ruleInstance. -1 if not found.

See Also

RuleErrorList Class | XRules Namespace