_AddressRuleCondition.ConditionType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a constant from the OlRuleConditionType enumeration that indicates the type of rule condition. Read-only.
public:
property Microsoft::Office::Interop::Outlook::OlRuleConditionType ConditionType { Microsoft::Office::Interop::Outlook::OlRuleConditionType get(); };
public Microsoft.Office.Interop.Outlook.OlRuleConditionType ConditionType { get; }
Public ReadOnly Property ConditionType As OlRuleConditionType
Property Value
Remarks
The AddressRuleCondition object is used by rules of types olRuleSend and olRuleReceive. If the rule is created as an olRuleSend rule, then the type of the associated AddressRuleCondition object will be olConditionSenderAddress. If the rule is created as an olRuleReceive rule, then the type of the associated AddressRuleCondition object will be olConditionRecipientAddress.
This however does not mean that the rule always has a defined rule condition for sender or recipient addresses. Regardless of whether there exists such a defined or enabled rule condition, the AddressRuleCondition.ConditionType property is always initialized once the associated rule is created. For more information on rule conditions, see Specifying Rule Conditions