Click or drag to resize
QueryDataParametersAddMacro Method
Adds the macro to the query data parameters

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public void AddMacro(
	string name,
	string value,
	bool addHashes = false
)

Parameters

name
Type: SystemString
Macro name
value
Type: SystemString
Macro value
addHashes (Optional)
Type: SystemBoolean
If true, hash chars are added to the macro automatically, e.g. "TABLE" is converted to "##TABLE##"
See Also