Partager via


OlRuleType Enumeration

Indicates if a rule is applied to messages that are being sent or received.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Public Enumeration OlRuleType
'Usage
Dim instance As OlRuleType
public enum OlRuleType

Members

Member name Description
olRuleReceive Indicates that the rule is applied to messages that are being received.
olRuleSend Indicates that the rule is being applied to messages being sent.

See Also

Reference

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Create a Rule to File Mail Items from a Manager and Flag Them for Follow-Up

How to: Create a Rule to Assign Categories to Mail Items Based on Multiple Words in the Subject