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

RuleInstanceList.IndexOf Method 

Determines the index of the RuleInstance object specified by 'ruleInstance'. This method is the wrapper of the 'IndexOf' method of the IList interface. Its benefit is to use object of type 'RuleInstance' instead of objects of type 'Object'.

[Visual Basic]
Public Function IndexOf( _ 
   ByVal ruleInstance As RuleInstance _ 
) As Integer
[C#]
public int IndexOf(
   RuleInstance ruleInstance
);
[C++]
public: int IndexOf(
   RuleInstance* ruleInstance
);
[JScript]
public function IndexOf(
   RuleInstance ruleInstance
): int;

Parameters

ruleInstance
A reference to the RuleInstance to determines its index.

Return Value

The index of the rule instance.

See Also

RuleInstanceList Class | XRules Namespace