MoveOrCopyRuleAction object (Outlook)
Represents an action that moves or copies a message.
Remarks
MoveOrCopyRuleAction is derived from the RuleAction object. Each rule is associated with a RuleActions object which has a CopyToFolder property and a MoveToFolder property. Each of these properties always returns a MoveOrCopyRuleAction object. MoveOrCopyRuleAction.ActionType distinguishes between the two action types. If the rule has an enabled rule action that copies or moves a message to the specified folder, then the corresponding MoveOrCopyRuleAction.Enabled would be True.
For more information on specifying rule actions, see Specify Rule Actions.
Properties
Name |
---|
ActionType |
Application |
Class |
Enabled |
Folder |
Parent |
Session |
See also
Outlook Object Model Reference
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om