RuleOnAttribute.InitiallyDisabled Property
If true, the rule must be explicitly enabled using IsEnabled.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Public Property InitiallyDisabled As Boolean
Get
Set
public bool InitiallyDisabled { get; set; }
public:
property bool InitiallyDisabled {
bool get ();
void set (bool value);
}
member InitiallyDisabled : bool with get, set
function get InitiallyDisabled () : boolean
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 is not triggered.
.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.