Click or drag to resize
MacroProcessorProcessDataMacros Method
Replaces data macros with given replacement or resolves them if replacement is null.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 11.0.0
Syntax
C#
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: String
See Also