Export (0) Print
Expand All

SocialCommentControl.RenderComment method

Renders the controls used to display and modify the SocialComment.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

protected virtual void RenderComment(
	StringBuilder strBuilder,
	SocialComment comment,
	int sequence,
	int page
)

Parameters

strBuilder
Type: System.Text.StringBuilder

A string builder to which the SocialComment HTML string is written.

comment
Type: Microsoft.Office.Server.SocialData.SocialComment

The SocialComment to be rendered.

sequence
Type: System.Int32

The display sequence number of the SocialComment.

page
Type: System.Int32

The page with which the SocialComment is associated.

This method renders the controls for displaying and modifying the specified social comment associated with the specified page to the client.

This method will only display the Edit link if the current user is the owner of the social comment. Similarly, this method will only display the Delete link if the current user is the owner of the social comment or a site administrator.

Show:
© 2015 Microsoft