| MacroElement Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.MacroEngine
 Syntax
Syntaxpublic class MacroElement
The MacroElement type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | MacroElement | 
            Constructor.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Expression | 
            Element expression (as was parsed).
             | 
|  | StartIndex | 
            Index of the expression start in the source expression.
             | 
|  | Type | 
            Element type.
             | 
|  | Value | 
            Element value (of the element type).
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|   | EscapeSpecialChars | 
            Escapes special characters in the string to create a string literal.
             | 
|   | IsBoolConst | 
            Returns true if the given string is a boolean constant "true" or "false".
             | 
|   | IsOperatorChar | 
            Returns true if the character is operator character.
             | 
|   | IsValidOperator | 
            Returns true if the operator is valid.
             | 
|   | IsWordOperator | 
            Returns true if the given string is a word operator.
             | 
|   | ParseExpression(String) | 
            Parses the expression.
             | 
|   | ParseExpression(String, Boolean) | 
            Parses the expression.
             | 
|  | ToString | 
            Returns the expression of the element.
            (Overrides ObjectToString.) | 
|   | UnescapeSpecialChars | 
            Unescapes special characters in the string constant.
             | 
 See Also
See Also