Share 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)

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