RuleOnAttribute.Priority Property
Gets or sets the priority in which the rule is raised.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Property Priority As Integer
Get
Set
public int Priority { get; set; }
public:
property int Priority {
int get ();
void set (int value);
}
member Priority : int with get, set
function get Priority () : int
function set Priority (value : int)
Property Value
Type: System.Int32
The priority in which the rule is raised.
Remarks
Smaller values have higher priority over larger values. Rules with smaller priority values are raised first. The default priority for a rule is 0.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.