WebZone.OnInit(EventArgs) 方法

定义

引发 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)

参数

e
EventArgs

包含事件数据的一个 EventArgs

例外

区域控件在页面生命周期中的某个阶段过晚添加,或者 WebPartManagernull

注解

该方法 OnInit 重写基 OnInit 方法,以向控件注册区域 WebPartManager

适用于

另请参阅