| MacroMethodParamAttribute Class | 
Namespace: CMS.MacroEngine
public class MacroMethodParamAttribute : Attribute
The MacroMethodParamAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| MacroMethodParamAttribute(Int32, String, Type, String) | 
            Creates new instance of MacroMethodParam object.
              | |
| MacroMethodParamAttribute(Int32, String, Type, String, Boolean) | 
            Creates new instance of MacroMethodParam object.
              | 
| Name | Description | |
|---|---|---|
| AsExpression | 
            If true, the parameter is passed to the method as expression (MacroExpression object), not evaluated.
              | |
| Comment | 
            Gets or sets a comment for the method.
              | |
| Index | 
            Index of the breadcrumb.
              | |
| IsParams | 
            If true, the parameter is declared with params keyword.
              | |
| Name | 
            Gets or sets the name of the method.
              | |
| Type | 
            Gets or sets a return type of the method.
              | 
| Name | Description | |
|---|---|---|
| GetMacroParam | 
            Creates new MacroMethodParam object from data of this attribute.
              |