RuleAction Object
Outlook Developer Reference |
Represents an action that is run when a Rule object executes.
Version Information
Version Added: Outlook 2007
Remarks
RuleAction is the base class for rule actions that are supported in programmatic rule creation. The classes derived from RuleAction include:
- AssignToCategoryRuleAction
- MarkAsTaskRuleAction
- MoveOrCopyRuleAction
- NewItemAlertRuleAction
- PlaySoundRuleAction
- SendRuleAction
The Rules object model provides partial parity with the Rules and Alerts Wizard in the Outlook user interface. It supports the most commonly used rule actions and conditions. Although it does not support creating rules with each rule action or rule condition that the Wizard supports, you can still enumerate and enable these rule actions and conditions in existing rules.
For more information on rule actions, see Specify Rule Actions and How to: Create a Rule.
See Also