WebZone.OnInit(EventArgs) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
引发 Init 事件。
protected public:
override void OnInit(EventArgs ^ e);
protected internal override void OnInit(EventArgs e);
override this.OnInit : EventArgs -> unit
Protected Friend Overrides Sub OnInit (e As EventArgs)
参数
例外
区域控件在页面生命周期中的某个阶段过晚添加,或者 WebPartManager 是 null。
注解
该方法 OnInit 重写基 OnInit 方法,以向控件注册区域 WebPartManager 。