Partilhar via


SocialCommentManager.GetComments Method (Uri, Int32, Int32, DateTime)

Retrieves all of the social comments created for the specified URL and last modified after the specified time, up to the specified maximum number and starting at the specified zero-based index.

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, _
    startIndex As Integer, _
    excludeItemsTime As DateTime _
) As SocialComment()
'Usage
Dim instance As SocialCommentManager
Dim url As Uri
Dim maximumItemsToReturn As Integer
Dim startIndex As Integer
Dim excludeItemsTime As DateTime
Dim returnValue As SocialComment()

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

Parameters

Return Value

Type: []

See Also

Reference

SocialCommentManager Class

SocialCommentManager Members

GetComments Overload

Microsoft.Office.Server.SocialData Namespace