SocialTag SocialTag SocialTag Class

Definition

Represents a social tag, consisting of a URI and a term from the taxonomy term store.

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

Remarks

Social tags can be private (visible only to the user who owns them) or external (visible to all users). This type inherits from SocialData.

Properties

IsPrivate IsPrivate IsPrivate

Gets s Boolean value indicating whether a social tag is private and therefore visible only to the owner.

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 SocialTagManager object that instantiated this SocialTag object.

Owner Owner Owner

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

(Inherited from SocialData)
Term Term Term

Gets the Term object stored in the social tag.

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

If the social tag has been changed, updates the LastModifiedTime property of the social tag.

Extension Methods

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

Applies to