SecurityAttribute.Unrestricted 属性

定义

获取或设置一个值,该值指示是否声明了对受该特性保护的资源有完全(无限制的)权限。

public:
 property bool Unrestricted { bool get(); void set(bool value); };
public bool Unrestricted { get; set; }
member this.Unrestricted : bool with get, set
Public Property Unrestricted As Boolean

属性值

如果声明了对受保护资源的完全权限,则为 true;否则为 false

注解

此属性由实现声明性安全性的自定义属性的所有类继承。

适用于