| description | Learn more about: XML Documentation tag <code> | ||
|---|---|---|---|
| title | <code> (C++ documentation comments) | ||
| ms.date | 12/03/2021 | ||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | 687db3f8-d435-4a90-b781-8da503fa39bc |
The <code> tag gives you a way to indicate one or more lines as code.
/// <code>content</code>
/// <code>
/// content
/// content
/// </code>content
The text you want marked as code.
Use <c> to indicate a portion of text should be marked as code.
Compile with /doc to process documentation comments to a file.
For an example of how to use the <code> tag, see <example>.