Click or drag to resize
MacroMethodParamAttribute Constructor (Int32, String, Type, String, Boolean)
Creates new instance of MacroMethodParam object.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 12.0.0
Syntax
C#
public MacroMethodParamAttribute(
	int index,
	string name,
	Type type,
	string comment,
	bool asExpression
)

Parameters

index
Type: SystemInt32
Index of the parameter
name
Type: SystemString
Parameter name
type
Type: SystemType
Parameter type
comment
Type: SystemString
Parameter comment
asExpression
Type: SystemBoolean
If true, the parameter is passed to the method as expression (MacroExpression object), not evaluated
See Also