Click or drag to resize
MacroRuleTree.GetParameterText Method
Processes the text of parameter (handles multivalue parameters separated with new line).

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetParameterText(
	string paramText,
	bool includingMarkup,
	string cssClass = null,
	string valueType = "text",
	Func<Object, Object> valueTransformation = null
)

Parameters

paramText
Type: System.String
Parameter text
includingMarkup
Type: System.Boolean
If true, rule is formatted using HTML markup
cssClass (Optional)
Type: System.String
Class which will be used (used only when includingMarkup is true), can be null
valueType (Optional)
Type: System.String
Type of the parameter text value
valueTransformation (Optional)
Type: System.Func<Object, Object>
Transformation function which is used to further modify the displayed parameter value (used for example to add TimeZones support for date time parameter values)

Return Value

Type: String
See Also