Click or drag to resize
MacroRuleTreeAddRule Method
Adds a new rule as a child of current node. Inserts the rule to the specified position.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax
C#
public MacroRuleTree AddRule(
	MacroRuleInfo ruleInfo,
	int position
)

Parameters

ruleInfo
Type: CMS.MacroEngineMacroRuleInfo
Rule to add
position
Type: SystemInt32
Position of the rule within the group

Return Value

Type: MacroRuleTree
See Also