_ToOrFromRuleCondition.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
<DispIdAttribute()> _
ReadOnly Property ConditionType As OlRuleConditionType
    Get
'Usage
Dim instance As _ToOrFromRuleCondition
Dim value As OlRuleConditionType

value = instance.ConditionType
[DispIdAttribute()]
OlRuleConditionType ConditionType { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlRuleConditionType

Remarks

ConditionType depends on the type of rule condition, as two types of rule conditions use the ToOrFromRuleCondition object: olConditionFrom and olConditionSentTo. olConditionFrom is supported only by rules for receiving messages, while olConditionSentTo is supported by rules for receiving messages as well as rules for sending messages. For more information, see Specifying Rule Conditions.

See Also

Reference

_ToOrFromRuleCondition Interface

_ToOrFromRuleCondition Members

Microsoft.Office.Interop.Outlook Namespace