Edit

Share via


_RuleActions.MarkAsTask Property

Definition

Returns a MarkAsTaskRuleAction object with ActionType being olRuleActionMarkAsTask. Read-only.

public:
 property Microsoft::Office::Interop::Outlook::MarkAsTaskRuleAction ^ MarkAsTask { Microsoft::Office::Interop::Outlook::MarkAsTaskRuleAction ^ get(); };
public Microsoft.Office.Interop.Outlook.MarkAsTaskRuleAction MarkAsTask { get; }
Public ReadOnly Property MarkAsTask As MarkAsTaskRuleAction

Property Value

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 Enabled will be True.

Applies to