_TextRuleCondition.ConditionType Property
Returns a constant from the OlRuleConditionType enumeration that indicates the type of rule condition. Read-only.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
ReadOnly Property ConditionType As OlRuleConditionType
Get
'Usage
Dim instance As _TextRuleCondition
Dim value As OlRuleConditionType
value = instance.ConditionType
OlRuleConditionType ConditionType { get; }
Property Value
Type: Microsoft.Office.Interop.Outlook.OlRuleConditionType
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 Specifying Rule Conditions.