Share via


TextRuleCondition Members

Include Protected Members
Include Inherited Members

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.

The TextRuleCondition type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _TextRuleCondition.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _TextRuleCondition.)
Public property ConditionType Returns a constant from the OlRuleConditionType enumeration that indicates the type of rule condition. Read-only. (Inherited from _TextRuleCondition.)
Public property Enabled Returns or sets a Boolean (bool in C#) that determines if the rule condition is enabled. Read/write. (Inherited from _TextRuleCondition.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _TextRuleCondition.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _TextRuleCondition.)
Public property Text Returns or sets an array of String (string in C#) elements that represents the text to be evaluated by the rule condition. Read/write. (Inherited from _TextRuleCondition.)

Top

See Also

Reference

TextRuleCondition Interface

Microsoft.Office.Interop.Outlook Namespace