Rule::IsEnabled Property

 

Gets or sets whether the rule is enabled. Normally true by default, but you can initialize it to false in the RuleOn attribute.

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

public:
property bool IsEnabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the rule is enabled; otherwise, false.

Return to top
Show: