RenderWebPart(System.Web.UI.HtmlTextWriter) Method
The RenderWebPart method of the QueryResultBase class overrides the Microsoft.SharePoint.WebPartPages.WebPart.RenderWebPart method. This method renders the HTML for the body of this Web Part to the client.
Parameters
writer The HtmlTextWriter object that receives the WebPart content.
Remarks
The RenderWebPart method may not be called in all cases (for example, when the Web Part is minimized, or if the page is being rendered to a non-HTML device).
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security