codeInline

Sandcastle MAML

Collapse image Expand Image Copy image CopyHover image

This element describes a string of code or a single keyword. For multi-line code fragments, use the code element instead.

Usage

Enter the element in the topic and specify the code as the inner text.

Example

  Copy imageCopy
Use a <codeInline>foreach</codeInline> loop to iterate over the collection.

Example Output

Use a foreach loop to iterate over the collection.

See Also