TextRuleCondition.ConditionType property (Outlook)

Returns a constant from the OlRuleConditionType enumeration that indicates the type of rule condition. Read-only.

Syntax

expression. ConditionType

expression A variable that represents a TextRuleCondition object.

Remarks

The value of ConditionType depends on the type of rule condition, as several types of rule conditions use the TextRuleCondition object: olConditionBody, olConditionBodyOrSubject, olConditionMessageHeader, and olConditionSubject. Except for olConditionMessageHeader, which is supported only by rules for receiving messages, all these types of conditions are supported by rules for receiving messages as well as rules for sending messages. For more information, see Specify Rule Conditions.

See also

TextRuleCondition Object

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.