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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Sub Render ( _
writer As HtmlTextWriter _
)
'Usage
Dim writer As HtmlTextWriter
Me.Render(writer)
protected override void Render(
HtmlTextWriter writer
)
Parameters
writer
Type: System.Web.UI.HtmlTextWriterThe HtmlTextWriter object that receives the server control content.
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.