AssignRuleIndex

 

Syntax

AssignRuleIndex

Return value

Long

Parameter

No

 

If a value is assigned to a class variable, the index of the last full rule checks is immediately saved with the variable. The AssignRuleIndex attribute can be used to query this index.

By querying this attribute, you will be able to check for class variables to see if a value change has occurred since the last rule check.

Example:

 

If Car.AssignRuleIndex = (Server.RuleCheckIndex - 1) Then

   MsgBox("Car is changed since the second past rule check.")

EndIf

 

Note:

The attribute is read only.