Click or drag to resize
RuleHelperGetMacroConditionFromRule Method
Returns macro condition saved within the given Rule. If there is no corresponding condition in the rule, returns empty string.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax
C#
public static string GetMacroConditionFromRule(
	RuleInfo rule
)

Parameters

rule
Type: CMS.ContactManagementRuleInfo
Rule containing the macro

Return Value

Type: String
Macro condition of given rule, if available; empty string otherwise
Exceptions
ExceptionCondition
ArgumentNullExceptionArgument rule is null
See Also