We recommend using Visual Studio 2017

<code> (Visual C++)


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at <code> (Visual C++).

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



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.

See the <example> topic for an example of how to use the <code> tag.

XML Documentation