TypeDescriptorPermission.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

如果 Flags 属性设置为 RestrictedRegistrationAccess,则为 true;否则为 false

实现

适用于

另请参阅