RuleHelperGetMacroConditionFromRule Method |
Returns macro condition saved within the given Rule. If there is no corresponding condition in the rule, returns empty string.
Namespace: CMS.ContactManagementAssembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax public static string GetMacroConditionFromRule(
RuleInfo rule
)
Parameters
- rule
- Type: CMS.ContactManagementRuleInfo
Rule containing the macro
Return Value
Type:
StringMacro condition of given rule, if available; empty string otherwise
Exceptions Exception | Condition |
---|
ArgumentNullException | Argument rule is null |
See Also