RuleActions.MarkAsTask Property (Outlook)
Returns a MarkAsTaskRuleAction object with MarkAsTaskRuleAction.ActionType being olRuleActionMarkAsTask. Read-only.
Version Information
Version Added: Outlook 2007
Syntax
expression .MarkAsTask
expression A variable that represents a RuleActions object.
Remarks
Use the returned MarkAsTaskRuleAction object when enumerating the rule actions of an existing rule or when creating a new rule that specifies the action of marking a message as a task.
This property of the RuleActions collection always returns a MarkAsTaskRuleAction 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 MarkAsTaskRuleAction.Enabled will be True.