Click or drag to resize
MacroMethodParamAttribute Class
Adds action to the page.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    CMS.MacroEngineMacroMethodParamAttribute

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 10.0.0
Syntax
C#
public class MacroMethodParamAttribute : Attribute

The MacroMethodParamAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMacroMethodParamAttribute(Int32, String, Type, String)
Creates new instance of MacroMethodParam object.
Public methodMacroMethodParamAttribute(Int32, String, Type, String, Boolean)
Creates new instance of MacroMethodParam object.
Top
Properties
  NameDescription
Public propertyAsExpression
If true, the parameter is passed to the method as expression (MacroExpression object), not evaluated.
Public propertyComment
Gets or sets a comment for the method.
Public propertyIndex
Index of the breadcrumb.
Public propertyIsParams
If true, the parameter is declared with params keyword.
Public propertyName
Gets or sets the name of the method.
Public propertyType
Gets or sets a return type of the method.
Top
Methods
  NameDescription
Public methodGetMacroParam
Creates new MacroMethodParam object from data of this attribute.
Top
See Also