다음을 통해 공유


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.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class SocialComment _
    Inherits SocialData
'Usage
Dim instance As SocialComment
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, 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