共用方式為


WebPartPage.OnInit method

處理所建立的網頁組件執行個體時,就會發生System.Web.UI.Control.Init事件。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Protected Overrides Sub OnInit ( _
    e As EventArgs _
)
'用途
Dim e As EventArgs

Me.OnInit(e)
protected override void OnInit(
    EventArgs e
)

參數

請參閱

參照

WebPartPage class

WebPartPage members

Microsoft.SharePoint.WebPartPages namespace