TypeDescriptorPermissionAttribute.RestrictedRegistrationAccess 属性

定义

获取或设置一个值,该值指示是否可以在部分信任模式下访问类型描述符。Gets or sets a value that indicates whether the type descriptor can be accessed from partial trust.

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

属性值

Boolean

如果可在部分信任模式下访问类型描述符,则为 true;否则为 falsetrue if the type descriptor can be accessed from partial trust; otherwise, false.

适用于

另请参阅