共用方式為


WebPartAdder.OnInit method

處理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
)

參數

備註

這個覆寫註冊網頁上的WebPartAdder控制項。

請參閱

參照

WebPartAdder class

WebPartAdder members

Microsoft.SharePoint.WebPartPages namespace