Condividi tramite


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

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