Rediger

Del via


<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