XmlExampleElement

Represents an example XML documentation element.

Syntax

public class XmlExampleElement : XmlDocumentationElement

Inheritance

Constructors

XmlExampleElement

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

XmlExampleElement

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

Parameters

  • element XElement: The XML element to parse.

Methods

ToMdx

public override string ToMdx()
Converts this example element to MDX format with proper code formatting.

Returns

string The MDX representation of this example.

Remarks

The example element contains code examples that demonstrate how to use a type or member. It can contain both description text and code blocks.