다음을 통해 공유


SPUserCodeWebPart.OnInit method

Handles the Init event.

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

Syntax

'Declaration
Protected Overrides Sub OnInit ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

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

Parameters

Remarks

This override registers the SPUserCodeWebPart for the control state and binds the handler method for the LoadComplete event.

See also

Reference

SPUserCodeWebPart class

SPUserCodeWebPart members

Microsoft.SharePoint.WebPartPages namespace