permission

NDoc3

The <permission> tag lets you document the security access of a member.

<permission cref="member">description</permission>

where:

cref = "member"
A reference to a member or field that is available to be called from the current compilation environment. The compiler checks that the given code element exists and translates member to the canonical element name in the output XML. member must appear within double quotation marks (" ").
description
A description of the access to the member.

Applies To

All Members.

Remarks

The System.Security.PermissionSet lets you specify access to a member.

Example

[C#]
using System;
class TestClass
{
   /// <permission cref="System.Security.PermissionSet">Everyone can access this method.</permission>
   public static void Test()
   {
   }
   public static void Main()
   {
   }
}

See Also

Tag Usage | NDoc3 Tags | Microsoft's definition