Adds parameter to the method definition.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- name
- Type:
System String
Name of the parameter
- type
- Type:
System Type
Type of the parameter
- comment
- Type:
System String
Comment of the parameter
- isParams (Optional)
- Type:
System Boolean
If true, parameter is declared with params keyword
- asExpression (Optional)
- Type:
System Boolean
If true, the parameter is passed to the method as expression (MacroExpression object), not evaluated
See Also