Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Overrides Sub RenderWebPart ( _
writer As HtmlTextWriter _
)
'Usage
Dim writer As HtmlTextWriter
Me.RenderWebPart(writer)
protected override void RenderWebPart(
HtmlTextWriter writer
)
Parameters
writer
Type: System.Web.UI.HtmlTextWriterThe 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).