Share via


SocialCommentManager.GetComments - Méthode (Uri, Int32, Int32)

Récupère tous les commentaires sociaux créés pour l'URL spécifiée, le nombre maximal spécifié et commençant à l'index de base zéro spécifié.

Espace de noms :  Microsoft.Office.Server.SocialData
Assembly :  Microsoft.Office.Server.UserProfiles (dans Microsoft.Office.Server.UserProfiles.dll)

Syntaxe

'Déclaration
Public Function GetComments ( _
    url As Uri, _
    maximumItemsToReturn As Integer, _
    startIndex As Integer _
) As SocialComment()
'Utilisation
Dim instance As SocialCommentManager
Dim url As Uri
Dim maximumItemsToReturn As Integer
Dim startIndex As Integer
Dim returnValue As SocialComment()

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

Paramètres

Valeur renvoyée

Type : []

Voir aussi

Référence

SocialCommentManager classe

SocialCommentManager - Membres

GetComments - Surcharge

Microsoft.Office.Server.SocialData - Espace de noms