Replaces data macros with given replacement or resolves them if replacement is null.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- text
- Type: System String
Text where the macros will be replaced/resolved
- replacement
- Type: System String
Replacement string
- parameter
- Type: System Object
Custom parameter passed to the callback function
- processMacro
- Type: CMS.MacroEngine MacroProcessor OnProcessMacro
Callback to handle the macro resolving
Return Value
Type: StringSee Also