共用方式為


Rule Class

Definition

public abstract Rule

public ref class Rule abstract : IComparable, IComparable<Microsoft::VisualStudio::Modeling::Rule ^>
public abstract class Rule : IComparable, IComparable<Microsoft.VisualStudio.Modeling.Rule>
type Rule = class
    interface IComparable
    interface IComparable<Rule>
Public MustInherit Class Rule
Implements IComparable, IComparable(Of Rule)
Inheritance
Rule
Derived
Implements

Constructors

Rule()

Properties

FireBefore

returns true if this rule should be fired inline before the change happens

FireImmediately

returns true if this rule should be fired inline

FireOnLocalCommit

returns true if this rule should be fired at local commit time

FireOnTopLevelCommit

returns true if this rule should be fired at top level commit time

FireTime

Get or set the time to fire this rule

IsEnabled

Gets or Sets whether the Rule is enabled.

Priority

Get the priority of this rule

Methods

CompareTo(Object)

Compare this rule object with another object

CompareTo(Rule)

Query whether this rule is less, greater, or equal to another rule instance.

Equals(Object)

Equals operator

Equals(Rule)

Equals operator

GetHashCode()

Get the hash code for this rule

Operators

Equality(Rule, Rule)
GreaterThan(Rule, Rule)

Greater Than operator

Inequality(Rule, Rule)

Not Equals operator

LessThan(Rule, Rule)

Less Than operator

Applies to