แก้ไข

แชร์ผ่าน


Rule.Priority Property

Definition

Gets or sets a value that indicates the order in which a Rule should be run.

public:
 property int Priority { int get(); void set(int value); };
public int Priority { get; set; }
member this.Priority : int with get, set
Public Property Priority As Integer

Property Value

A value that indicates the order in which a Rule should be run.

Remarks

Rule classes that have a higher priority value are run before lower priority Rule classes. Rules that have the same priority are run in the alphabetic order of their name properties.

The Priority value can be positive or negative. The default value for any Rule is 0.

Applies to