Returns rule as a human readable sentence. If the expression is Rule(...) method than it uses XML for the rule, otherwise returns expression as it is.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- ruleExpression
- Type:
System String
Rule expression to render.
- throwOnError (Optional)
- Type:
System Boolean
If true, the process throws an exception in case of parsing error.
Return Value
Type:![Online Online](./../icons/online_icon.gif)
See Also