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
[C#]
public int IndexOfRuleInstance(
   RuleInstance ruleInstance
);
[C++]
public: int IndexOfRuleInstance(
   RuleInstance* ruleInstance
);
[JScript]
public function IndexOfRuleInstance(
   RuleInstance ruleInstance
): int;

Parameters

ruleInstance
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