Share via


RuleOnAttribute.InitiallyDisabled Property

Gets or sets the InitiallyDisabled flag, which determines whether a rule is disabled by default.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Property InitiallyDisabled As Boolean
'Usage
Dim instance As RuleOnAttribute 
Dim value As Boolean 

value = instance.InitiallyDisabled

instance.InitiallyDisabled = value
public bool InitiallyDisabled { get; set; }
public:
property bool InitiallyDisabled {
    bool get ();
    void set (bool value);
}
public function get InitiallyDisabled () : boolean 
public function set InitiallyDisabled (value : boolean)

Property Value

Type: System.Boolean
true if the rule is disabled by default; otherwise, false.

Remarks

When a rule is disabled, it cannot be raised.

.NET Framework Security

See Also

Reference

RuleOnAttribute Class

RuleOnAttribute Members

Microsoft.VisualStudio.Modeling Namespace