ListViewWebPart.RenderWebPart Method

Renders a complete Web Part control with all its sections.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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