--- title: "<summary> (Visual C++)" ms.date: "11/04/2016" f1_keywords: ["", "summary"] helpviewer_keywords: [" C++ XML tag", "summary C++ XML tag"] ms.assetid: cdeeefbb-1339-45d6-9002-10042a9a2726 --- # <summary> (Visual C++) The \ tag should be used to describe a type or a type member. Use [\](../ide/remarks-visual-cpp.md) to add supplemental information to a type description. ## Syntax ``` description ``` #### Parameters *description*
A summary of the object. ## Remarks The text for the \ tag is the only source of information about the type in IntelliSense, and is also displayed in the [Object Browser](/visualstudio/ide/viewing-the-structure-of-code) and in the Code Comment Web Report. Compile with [/doc](../build/reference/doc-process-documentation-comments-c-cpp.md) to process documentation comments to a file. ## Example ``` // xml_summary_tag.cpp // compile with: /LD /clr /doc // post-build command: xdcmake xml_summary_tag.dll /// Text for class MyClass. public ref class MyClass { public: /// MyMethod is a method in the MyClass class. /// Here's how you could make a second paragraph in a description. for information about output statements. /// /// void MyMethod(int Int1) {} /// text void MyMethod2() {} }; ``` ## See Also [XML Documentation](../ide/xml-documentation-visual-cpp.md)