RuleHelperGetMacroConditionFromRule Method |
Returns macro condition saved within the given Rule. If there is no corresponding condition in the rule, returns empty string.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax public static string GetMacroConditionFromRule(
RuleInfo rule
)
Parameters
- rule
- Type: CMS.OnlineMarketingRuleInfo
Rule containing the macro
Return Value
Type:
StringMacro condition of given rule, if available; empty string otherwise
Exceptions See Also