Share via


SPUserCodeWebPart.OnPreRender Method

Handles the PreRender event.

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

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 method makes final changes to the contents of the object to ensure that the object is ready to be rendered to the client as HTML, and then invokes the PreRender event.

See Also

Reference

SPUserCodeWebPart Class

SPUserCodeWebPart Members

Microsoft.SharePoint.WebPartPages Namespace