Rule Members

When overridden in a derived class, compares rules and determines when they are raised.

The Rule type exposes the following members.

Constructors

  Name Description
Protected method Rule Initializes a new instance of the Rule class.

Top

Methods

  Name Description
Public method CompareTo Overloaded. Compares the rule to another object or rule.
Public method Equals Overloaded. Verifies whether the rule is equal to another object or rule.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for the rule. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Equality Verifies whether two rules are equal.
Public operatorStatic member GreaterThan Verifies whether a rule is greater than another rule.
Public operatorStatic member Inequality Verifies whether two rules are not equal.
Public operatorStatic member LessThan Verifies whether a rule is less than another rule.

Top

Properties

  Name Description
Public property FireBefore Gets the rule and verifies whether it should raise before the change occurs.
Public property FireImmediately Gets the rule and verifies whether it should raise immediately.
Public property FireOnLocalCommit Gets the rule and verifies whether it should raise when the current transaction commits.
Public property FireOnTopLevelCommit Gets the rule and verifies whether it should raise when the top level transaction commits.
Public property FireTime Gets or sets when the rule should raise.
Public property IsEnabled Gets or sets whether the rule is enabled.
Public property Priority Gets the priority that is assigned to the rule.

Top

See Also

Reference

Rule Class

Microsoft.VisualStudio.Modeling Namespace