: SearchBox.RenderWebPart (Método) (Microsoft.SharePoint.Portal.WebControls)
Este miembro o clase no se admite. Cuando actualice una aplicación o escriba aplicaciones nuevas que hagan uso de este miembro o clase, use en su lugar el miembro o clase nuevo. For Enterprise Search de Microsoft Office SharePoint Server 2007, use the Microsoft.SharePoint.PortalWebControls.SearchBoxEx instead.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Protected Overrides Sub RenderWebPart ( _
writer As HtmlTextWriter _
)
'Uso
Dim writer As HtmlTextWriter
Me.RenderWebPart(writer)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
protected override void RenderWebPart (
HtmlTextWriter writer
)
Parámetros
- writer
The HtmlTextWriter object that receives the WebPart content.
Comentarios
The RenderWebPart method might 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).
Overrides the Microsoft.SharePoint.WebPartPages.WebPart.RenderWebPart method. The RenderWebPart method renders the HTML for the body of this Web Part to the client.
Vea también
Referencia
SearchBox (Clase)
SearchBox (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)