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.

注解

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

适用于