XmlPermissionElement

Represents a permission XML documentation element.

Syntax

public class XmlPermissionElement : XmlDocumentationElement

Inheritance

Constructors

XmlPermissionElement

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

XmlPermissionElement

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

Parameters

  • element XElement: The XML element to parse.

Properties

Cref

public string Cref { get; set; }
Gets or sets the permission type reference.

Returns

string

Methods

ToMdx

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

Returns

string The MDX representation of this permission requirement.

Remarks

The permission element documents the security permissions required to access or use a particular type or member.