SocialCommentManager.GetComments - Méthode (Uri, Int32)
Récupère tous les commentaires sociaux créés pour l'URL spécifiée, jusqu'au nombre maximal 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 _
) As SocialComment()
'Utilisation
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
)
Paramètres
- url
Type : System.Uri
- maximumItemsToReturn
Type : System.Int32
Valeur renvoyée
Type : []