SocialComment - Classe
Contient les propriétés qui représentent un commentaire social.
Hiérarchie d’héritage
System.Object
Microsoft.Office.Server.SocialData.SocialData
Microsoft.Office.Server.SocialData.SocialComment
Espace de noms : Microsoft.Office.Server.SocialData
Assembly : Microsoft.Office.Server.UserProfiles (dans Microsoft.Office.Server.UserProfiles.dll)
Syntaxe
'Déclaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SocialComment _
Inherits SocialData
'Utilisation
Dim instance As SocialComment
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SocialComment : SocialData
Remarques
Utilisez SocialCommentManager pour obtenir et ajouter des commentaires sociaux. Commentaires sociaux peuvent être privé (visible uniquement par l'utilisateur qui possède les) ou externe (visible par tous les utilisateurs).
Cohérence de thread
Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.