XmlGenericElement

Represents a generic XML documentation element for unrecognized tags.

Syntax

public class XmlGenericElement : XmlDocumentationElement

Inheritance

Constructors

XmlGenericElement

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

XmlGenericElement

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

Parameters

  • element XElement: The XML element to parse.

Properties

ElementName

public string ElementName { get; set; }
Gets or sets the XML element name.

Returns

string

Methods

ToMdx

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

Returns

string The MDX representation of this element.

Remarks

This class handles XML documentation elements that don’t have specific implementations. It provides basic text extraction and formatting capabilities for any XML element.