XmlTypeParameterElement

Represents a type parameter XML documentation element.

Syntax

public class XmlTypeParameterElement : XmlDocumentationElement

Inheritance

Constructors

XmlTypeParameterElement

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

XmlTypeParameterElement

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

Parameters

  • element XElement: The XML element to parse.

Properties

Name

public string Name { get; set; }
Gets or sets the name of the type parameter.

Returns

string

Methods

ToMdx

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

Returns

string The MDX representation of this type parameter.

Remarks

The typeparam element describes a generic type parameter. It includes the parameter name and description of its constraints and usage.