_CategoryRuleCondition.Enabled Property

Returns or sets a Boolean (bool in C#) that determines if the rule condition is enabled. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As _CategoryRuleCondition
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
[DispIdAttribute()]
bool Enabled { get; set; }

Property Value

Type: System.Boolean

Remarks

After you enable a rule condition, you must also save the rule by using _Rules.Save so that the rule condition and its enabled state will persist beyond the current session. A rule condition is only enabled after it has been saved successfully.

See Also

Reference

_CategoryRuleCondition Interface

_CategoryRuleCondition Members

Microsoft.Office.Interop.Outlook Namespace