共用方式為


DataFormWebPart.RenderWebPart Method

Renders a complete WebPart 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 method renders the entire control, with header, contents, and footer. Overriding this method gives a developer complete programmatic control over all rendering aspects.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace