--- title: "<list> (Visual C++) | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: - "cpp-ide" ms.tgt_pltfrm: "" ms.topic: "article" f1_keywords: - "list" - "" dev_langs: - "C++" helpviewer_keywords: - "list C++ XML tag" - " C++ XML tag" ms.assetid: c792a10b-0451-422c-9aa0-604116e69d64 caps.latest.revision: 8 author: "mikeblome" ms.author: "mblome" manager: "ghogen" translation.priority.ht: - "cs-cz" - "de-de" - "es-es" - "fr-fr" - "it-it" - "ja-jp" - "ko-kr" - "pl-pl" - "pt-br" - "ru-ru" - "tr-tr" - "zh-cn" - "zh-tw" --- # <list> (Visual C++) The \ block is used to define the heading row of either a table or definition list. When defining a table, you only need to supply an entry for term in the heading. ## Syntax ``` term description term description ``` #### Parameters `term` A term to define, which will be defined in `description`. `description` Either an item in a bullet or numbered list or the definition of a `term`. ## Remarks Each item in the list is specified with an \ block. When creating a definition list, you will need to specify both `term` and `description`. However, for a table, bulleted list, or numbered list, you only need to supply an entry for `description`. A list or table can have as many \ blocks as needed. Compile with [/doc](../build/reference/doc-process-documentation-comments-c-cpp.md) to process documentation comments to a file. ## Example ``` // xml_list_tag.cpp // compile with: /doc /LD // post-build command: xdcmake xml_list_tag.dll /// Here is an example of a bulleted list: /// /// /// Item 1. /// /// /// Item 2. /// /// /// class MyClass {}; ``` ## See Also [XML Documentation](../ide/xml-documentation-visual-cpp.md)