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

RuleList.IndexOf Method 

Determines the index of the RuleBase object specified by 'rule'.

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

Parameters

rule
A reference to the RuleBase to determines its index.

Return Value

The index of the rule.

See Also

RuleList Class | XRules Namespace