Compartilhar via


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

'Declaração
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

See Also

Reference

RuleOnAttribute Class

Microsoft.VisualStudio.Modeling Namespace