WebPart.Render method

Renders the control to the specified HTML writer. This method is inherited from the System.Web.UI.Control class.

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

Syntax

'Declaration
Protected Overrides Sub Render ( _
    writer As HtmlTextWriter _
)
'Usage
Dim writer As HtmlTextWriter

Me.Render(writer)
protected override void Render(
    HtmlTextWriter writer
)

Parameters

Remarks

Although the Render method of the WebPart base class is defined to be overridden, it is not recommended that you do so. Instead, to implement the rendering for a Web Part, override the RenderWebPart method.

See also

Reference

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace