---
title: "Aspose::Email::Mapi::KnownPropertyList::RuleCondition method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/rulecondition/"
product: "Aspose.Email for C++"
description: "Defines the conditions under which a rule action is to be executed."
---


## RuleCondition {#rulecondition}

Defines the conditions under which a rule action is to be executed. Area: Server-Side Rules Properties Canonical name: PidTagRuleCondition Alternate names: PR_RULE_CONDITION, ptagRuleCondition

**Returns:** System::SharedPtr < PidTagPropertyDescriptor > Aspose::Email::Mapi::

```cpp
RuleCondition()
```

