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: 12.0.0
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