次の方法で共有


RuleActions.ClearCategories Property (Outlook)

Returns a RuleAction object with a RuleAction.ActionType of olRuleActionClearCategories. Read-only.

Version Information

Version Added: Outlook 2007

Syntax

expression .ClearCategories

expression A variable that represents a RuleActions object.

Remarks

Use the returned RuleAction object when enumerating the rule actions of an existing rule or when creating a rule that specifies removing all the categories of a message as an action.

This property of the RuleActions collection always returns a RuleAction object, regardless of whether the rule associated with this RuleActions collection has defined such a rule action. If the rule has defined and enabled such a rule action, then RuleAction.Enabled will be True.

See Also

Concepts

RuleActions Object

RuleActions Object Members