Document! X 2017
In This Topic
    Syntax Metadata Element
    In This Topic
    Description
    Outputs a syntax block for a particular item.
    Usage

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

    • Class
    • Interface
    • Structure
    • Enumeration
    • Delegate
    • Constructor
    • Method
    • Property
    • Field
    • Event
    • Operator
    Use in Page Types or scraps that do not relate to these specific Item Types may result in unexpected output or documentation build errors.
    Parameters
    ParameterTypeDescription
    langThe language to return syntax for.
    Remarks
    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