Rules Object (Outlook)

Represents a set of Rule objects that are the rules available in the current session.

Version Information

Version Added: Outlook 2007

Remarks

The Rules object model consists primarily of these objects: Rules, Rule, RuleActions, RuleConditions, RuleAction, RuleCondition, and the derived objects for certain rule actions and rule conditions. It provides partial parity with the Rules and Alerts Wizard in the Outlook user interface. Although it does not support creation of every single rule that you can possibly create using the Wizard, it supports the most commonly used rule actions and conditions.

For more information on how to programmatically create, edit, and delete rules, see Managing Rules in the Outlook Object Model and How to: Create a Rule to Move Specific E-mails to a Folder.

See Also

Concepts

Rules Object Members

Outlook Object Model Reference