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)
參數
例外狀況
區域控制是在頁面生命週期的後期加入的,也就是 WebPartManagernull。
備註
此 OnInit 方法會覆寫基礎 OnInit 方法,將區域註冊到控制區 WebPartManager 。