Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves social comments created by the specified user, up to the specified maximum number to retrieve, 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 ( _
user As UserProfile, _
maximumItemsToReturn As Integer, _
startIndex As Integer _
) As SocialComment()
'Usage
Dim instance As SocialCommentManager
Dim user As UserProfile
Dim maximumItemsToReturn As Integer
Dim startIndex As Integer
Dim returnValue As SocialComment()
returnValue = instance.GetComments(user, _
maximumItemsToReturn, startIndex)
public SocialComment[] GetComments(
UserProfile user,
int maximumItemsToReturn,
int startIndex
)
Parameters
- maximumItemsToReturn
Type: System.Int32
- startIndex
Type: System.Int32
Return Value
Type: []