WebZone.OnInit(EventArgs) 方法
定义
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。The zone control was added at too late of a stage in the page life cycle, or the WebPartManager is null.
注解
OnInit方法重写基 OnInit 方法以向控件注册区域 WebPartManager 。The OnInit method overrides the base OnInit method to register a zone with the WebPartManager control.