XmlCodeElement

Represents an inline code XML documentation element.

Syntax

public class XmlCodeElement : XmlDocumentationElement

Inheritance

Constructors

XmlCodeElement

public XmlCodeElement()
Initializes a new instance of the XmlCodeElement class.

XmlCodeElement

public XmlCodeElement(XElement element)
Initializes a new instance of the XmlCodeElement class with XML content.

Parameters

  • element XElement: The XML element to parse.

Methods

ToMdx

public override string ToMdx()
Converts this inline code element to MDX format.

Returns

string The MDX representation of this inline code.

Remarks

The c element marks text as inline code within documentation. It is typically rendered with monospace font and different styling.