Rule.Priority Property

Definition

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

C#
public int Priority { get; set; }

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1