MacroProcessorProcessDataMacros Method |
Replaces data macros with given replacement or resolves them if replacement is null.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 10.0.0
Syntax public static string ProcessDataMacros(
string text,
string replacement,
MacroProcessorOnProcessMacro processMacro
)
Parameters
- text
- Type: SystemString
Text where the macros will be replaced/resolved - replacement
- Type: SystemString
Replacement string - processMacro
- Type: CMS.MacroEngineMacroProcessorOnProcessMacro
Callback to handle the macro resolving
Return Value
Type:
StringSee Also