ReflectionPermission.IsUnrestricted 方法

定义

返回一个值,该值指示当前权限是否不受限制。

public:
 virtual bool IsUnrestricted();
public bool IsUnrestricted ();
abstract member IsUnrestricted : unit -> bool
override this.IsUnrestricted : unit -> bool
override this.IsUnrestricted : unit -> bool
Public Function IsUnrestricted () As Boolean

返回

Boolean

如果当前权限不受限制,则为 true;否则为 false

实现

注解

不受限制的权限表示对受权限保护的任何和所有资源的访问。

适用于