XmlTypeParamRefElement

Represents a typeparamref XML documentation element for type parameter references.

Syntax

public class XmlTypeParamRefElement : XmlDocumentationElement

Inheritance

Constructors

XmlTypeParamRefElement

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

XmlTypeParamRefElement

public XmlTypeParamRefElement(XElement element)
Initializes a new instance of the XmlTypeParamRefElement 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 referenced type parameter.

Returns

string

Methods

ToMdx

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

Returns

string The MDX representation of this type parameter reference.

Remarks

The typeparamref element creates a reference to a generic type parameter within the documentation. It is used to refer to type parameters inline within text.