MacroRuleTreeAddRule Method |
Adds a new rule as a child of current node. Inserts the rule to the specified position.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax 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:
MacroRuleTreeSee Also