SocialCommentManager.GetComments - Méthode (Uri, Int32, Int32, DateTime)
Récupère tous les commentaires sociaux créé pour l'URL spécifiée et de la dernière modification après l'heure 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, _
excludeItemsTime As DateTime _
) As SocialComment()
'Utilisation
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
)
Paramètres
- url
Type : System.Uri
- maximumItemsToReturn
Type : System.Int32
- startIndex
Type : System.Int32
- excludeItemsTime
Type : System.DateTime
Valeur renvoyée
Type : []