共用方式為


OnInit 方法

Raises the Init event.

命名空間:  Microsoft.ReportingServices.SharePoint.UI.WebParts
組件:  Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

語法

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

Me.OnInit(e)
protected override void OnInit(
    EventArgs e
)
protected:
virtual void OnInit(
    EventArgs^ e
) override
abstract OnInit : 
        e:EventArgs -> unit 
override OnInit : 
        e:EventArgs -> unit 
protected override function OnInit(
    e : EventArgs
)

參數

備註

For more information on this method, see Control..::..OnInit.