SocialComment SocialComment SocialComment Class

Definition

Contains properties that represent a social comment.

public ref class SocialComment sealed : Microsoft::Office::Server::SocialData::SocialData
public sealed class SocialComment : Microsoft.Office.Server.SocialData.SocialData
Public NotInheritable Class SocialComment
Inherits SocialData
Inheritance
SocialCommentSocialCommentSocialComment

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).

Properties

Comment Comment Comment

Gets a String representing the contents of the social comment.

IsHighPriority IsHighPriority IsHighPriority

Gets a Boolean value indicating whether a social comment has a high priority.

LastModifiedTime LastModifiedTime LastModifiedTime

Gets the DateTime object representing the time when the piece of social data was last updated.

(Inherited from SocialData)
Manager Manager Manager

Gets the SocialCommentManager object that instantiated this SocialComment object.

Owner Owner Owner

Gets a UserProfile that represents the owner of the SocialData object.

(Inherited from SocialData)
Title Title Title

Gets the title of this piece of social data.

(Inherited from SocialData)
Url Url Url

Gets a Uri object stored by the piece of social data.

(Inherited from SocialData)

Methods

Delete() Delete() Delete()

Deletes the piece of social data after ensuring that it exists and that the current user can change it.

(Inherited from SocialData)
DeleteData() DeleteData() DeleteData()

Abstract method that deletes a piece of social data.

(Inherited from SocialData)
EnsureUpdateAllowed() EnsureUpdateAllowed() EnsureUpdateAllowed()

Determines whether a given piece of social data can be updated.

(Inherited from SocialData)
Update() Update() Update()

Updates the social comment and changes the LastModifiedTime property.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to