SocialCommentManager.GetComments method (Uri, Int32)

Retrieves all of the social comments created for the specified URL, up to the specified maximum number.

Namespace:  Microsoft.Office.Server.SocialData
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function GetComments ( _
    url As Uri, _
    maximumItemsToReturn As Integer _
) As SocialComment()
'Usage
Dim instance As SocialCommentManager
Dim url As Uri
Dim maximumItemsToReturn As Integer
Dim returnValue As SocialComment()

returnValue = instance.GetComments(url, _
    maximumItemsToReturn)
public SocialComment[] GetComments(
    Uri url,
    int maximumItemsToReturn
)

Parameters

Return value

Type: []

See also

Reference

SocialCommentManager class

SocialCommentManager members

GetComments overload

Microsoft.Office.Server.SocialData namespace