Rule Properties

Include Protected Members
Include Inherited Members

The Rule type exposes the following members.

Properties

  Name Description
Public property FireBefore true if this rule will be executed before the change occurs.
Public property FireImmediately true if this rule will execute immediately the change occurs.
Public property FireOnLocalCommit true if this rule will execute when the current transaction commits.
Public property FireOnTopLevelCommit true if this rule will execute when the top level transaction commits.
Public property FireTime Gets or sets when the rule should execute. Normally set by the RuleOn attribute.
Public property IsEnabled Gets or sets whether the rule is enabled. Normally true by default, but you can initialize it to false in the RuleOn attribute.
Public property Priority Gets the priority that is assigned to the rule. Helps to determine the order in which rules are executed at the end of a transaction.

Top

See Also

Reference

Rule Class

Microsoft.VisualStudio.Modeling Namespace