Share via


SocialComment class

Contains properties that represent a social comment.

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.SocialData.SocialData
    Microsoft.Office.Server.SocialData.SocialComment

Namespace:  Microsoft.Office.Server.SocialData
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SocialComment _
    Inherits SocialData
'Usage
Dim instance As SocialComment
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SocialComment : SocialData

Remarks

Use SocialCommentManager to get and add social comments. Social comments can be private (visible only to the user who owns them) or external (visible to all users).

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SocialComment members

Microsoft.Office.Server.SocialData namespace