共用方式為


LayoutsPageBase.OnPreInit Method

Represents that method that handles the PreInit event.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Parameters

Remarks

In addition to calling the base method, the OnPreInit handler calls CheckRights if RightsCheckMode is set to OnPreInit.

See Also

Reference

LayoutsPageBase Class

LayoutsPageBase Members

Microsoft.SharePoint.WebControls Namespace