Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 915 Bytes

code-visual-cpp.md

File metadata and controls

41 lines (28 loc) · 915 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: XML Documentation tag <code>
<code> (C++ documentation comments)
12/03/2021
<code>
<code> C++ XML tag
code C++ XML tag
687db3f8-d435-4a90-b781-8da503fa39bc

<code> documentation tag

The <code> tag gives you a way to indicate one or more lines as code.

Syntax

/// <code>content</code>

/// <code>
/// content
/// content
/// </code>

Parameters

content
The text you want marked as code.

Remarks

Use <c> to indicate a portion of text should be marked as code.

Compile with /doc to process documentation comments to a file.

Example

For an example of how to use the <code> tag, see <example>.

See also

XML documentation