다음을 통해 공유


ColleaguesWebPart.RenderWebPart Method

Renders the HTML for the body of the ColleaguesWebPartWebPart to the client.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.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 HTML to display the colleagues the user has shared with other users. If the current user is the profile owner, a link to manage their colleagues will also be displayed. This override may not be called in all situations. For example, it cannot be called when the ColleaguesWebPart is minimized, or if the current Page is being rendered to a non-HTML device.

See Also

Reference

ColleaguesWebPart Class

ColleaguesWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace