Adds parameter to the method definition.
Namespace: CMS.CoreAssembly: CMS.Core (in CMS.Core.dll) Version: 8.0.0.0 (8.0.5239.26125)
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