Click or drag to resize
CachedMacroRuleTreesGetParsedTree Method
Parses serialized macro (for example in a contact group) to a MacroRuleTree and saves it to cache for subsequent calls. If macro rule tree was already parsed, returns it from cache.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
Syntax
C#
public static MacroRuleTree GetParsedTree(
	string macroCondition
)

Parameters

macroCondition
Type: SystemString
Macro condition

Return Value

Type: MacroRuleTree
MacroRuleTree that is parsed from macroCondition or taken from cache or null if it cannot be parsed
Exceptions
ExceptionCondition
ArgumentNullExceptionmacroCondition cannot be null
See Also