WebPartAuthorizationEventArgs.IsAuthorized 属性

定义

获取或设置一个值,该值指示是否可以将 Web 部件控件添加到页面。

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

属性值

true 如果 Web 部件控件可以添加到页面,则为 ;否则,为 false.

适用于

另请参阅