Share via


_Rule.RuleType Property

Returns a constant from the OlRuleType enumeration that indicates if the rule applies to messages that are being sent or received. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property RuleType As OlRuleType
    Get
'Usage
Dim instance As _Rule
Dim value As OlRuleType

value = instance.RuleType
[DispIdAttribute()]
OlRuleType RuleType { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlRuleType

See Also

Reference

_Rule Interface

_Rule Members

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