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
- 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.