共用方式為


<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.

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

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

See Also

Other Resources

XML Documentation (Visual C++)