Compartilhar via


ToolPart.RenderToolPart Method

Sends the tool part content to the specified HtmlTextWriter object, which writes the content to be rendered on the client.

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

Syntax

'Declaration
Protected Overridable Sub RenderToolPart ( _
    output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter

Me.RenderToolPart(output)
protected virtual void RenderToolPart(
    HtmlTextWriter output
)

Parameters

Examples

For a code sample that uses the RenderToolPart method in the context of a complete tool part sample, see the ToolPart class.

See Also

Reference

ToolPart Class

ToolPart Members

Microsoft.SharePoint.WebPartPages Namespace