TextRuleCondition Members (Outlook)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a rule condition that the part of the message, which can be the body, header, or subject, as specified by TextRuleCondition.ConditionType, contains the words specified in TextRuleCondition.Text.

Properties

Name

Description

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

ConditionType

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

Enabled

Returns or sets a Boolean that determines if the rule condition is enabled. Read/write.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Text

Returns or sets an array of String elements that represents the text to be evaluated by the rule condition. Read/write.