Share via


ListViewWebPart.RenderWebPart method

Renders a complete Web Part control with all its sections.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Sub RenderWebPart ( _
    output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter

Me.RenderWebPart(output)
protected override void RenderWebPart(
    HtmlTextWriter output
)

Parameters

Remarks

This override renders the content to the client based on the value of the ViewType property.

This override throws a WebPartPageUserException if the value of the ViewType property is invalid.

See also

Reference

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace