SecurityAttribute.Unrestricted 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示是否声明了对受属性保护的资源的完整(不受限制)权限。
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.
注解
此属性由实现声明性安全性的自定义属性的所有类继承。