Edit

Share via


_RuleActions.CopyToFolder Property

Definition

Returns a MoveOrCopyRuleAction object with ActionType being olRuleActionCopyToFolder. Read-only.

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

Property Value

Remarks

Use the returned MoveOrCopyRuleAction object when enumerating the rule actions of an existing rule or when creating a new rule that specifies copying a message to a specific folder as an action.

This property of the RuleActions collection always returns a MoveOrCopyRuleAction 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