Document! X and HelpStudio 2019
In This Topic
    Syntax Metadata Element
    In This Topic
    Outputs a syntax block for a particular item.

    This Metadata Element can only be used in Page Types or Scraps that relate to the Java Documentation Item Types listed below. (more info)

    • Class
    • Interface
    • Enumeration
    • Constructor
    • Method
    • Field
    Use in Page Types or scraps that do not relate to these specific Item Types may result in unexpected output or documentation build errors.
    booleanSet to True in order to include the language prefix (if any).
    langThe language to return syntax for.
    Depending on the item type, one of the following Scraps will be used to format the output: _{Language}_CLASS_SYNTAX, _{Language}_INTERFACE_SYNTAX, _{Language}_STRUCTURE_SYNTAX, _{Language}_ENUMERATION_SYNTAX, _{Language}_DELEGATE_SYNTAX, _{Language}_CONSTRUCTOR_SYNTAX, _{Language}_METHOD_SYNTAX, _{Language}_PROPERTY_SYNTAX, _{Language}_FIELD_SYNTAX, _{Language}_EVENT_SYNTAX, _{Language}_OPERATOR_SYNTAX