Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

<code> (Visual C++)

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


<code>content</code>

Parameters

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.

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

Community Additions

ADD
Show:
© 2015 Microsoft