XmlSeeAlsoElement

Represents a seealso XML documentation element for related references.

Syntax

public class XmlSeeAlsoElement : XmlDocumentationElement

Inheritance

Constructors

XmlSeeAlsoElement

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

XmlSeeAlsoElement

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

Parameters

  • element XElement: The XML element to parse.

Properties

Cref

public string Cref { get; set; }
Gets or sets the cross-reference target.

Returns

string

LinkText

public string LinkText { get; set; }
Gets or sets the link text to display.

Returns

string

Methods

ToMdx

public override string ToMdx()
Converts this seealso element to MDX format as a link.

Returns

string The MDX representation of this related reference.

Remarks

The seealso element creates a link to related types or members. These are typically displayed in a “See Also” section.