Share via


Rule.IsEnabled Property

Gets or sets whether the rule is enabled.

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

Syntax

'Declaration
Public Property IsEnabled As Boolean
'Usage
Dim instance As Rule 
Dim value As Boolean 

value = instance.IsEnabled

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

Property Value

Type: System.Boolean
true if the rule is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

Rule Class

Rule Members

Microsoft.VisualStudio.Modeling Namespace