Partilhar via


MySitePublicWebPartPage.OnPreRender Method

Handles the PreRender event. This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

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

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

Parameters

Remarks

This override sets the visibility of the controls and Server ribbon tabs on the current “My Site” public page based on the current user’s permissions.

See Also

Reference

MySitePublicWebPartPage Class

MySitePublicWebPartPage Members

Microsoft.SharePoint.Portal.WebControls Namespace