CategoryRuleCondition Object (Outlook)
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

CategoryRuleCondition Object (Outlook)

Represents a rule condition that evaluates categories on a message as compared with CategoryRuleCondition.Categories.

Version Added: Outlook 2007

CategoryRuleCondition is derived from the RuleCondition object. Each rule is associated with a RuleConditions object which has a RuleConditions.Category property. The Category property always returns a CategoryRuleCondition object. If the rule has any of these rule conditions enabled, then CategoryRuleCondition.Enabled would be True.

For more information on specifying rule actions, see Specify Rule Conditions.

© 2016 Microsoft