ContentType enumeration

This object, member, or enumeration is deprecated and is not intended to be used in your code. SharePoint 2013 includes the following APIs for working with feeds: .NET client, JavaScript, REST, and server. See Work with social feeds in SharePoint 2013 to choose the API for your specific feed-related programming tasks.

Represents an enumeration of possible types for the display of items in an activity feed.

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

public enum ContentType

Member nameDescription
PlainTextSpecifies that the activity feed item should be returned as plain text, without any tagging or encoding.
HtmlSpecifies that the activity feed item should be HTML-encoded and, if necessary, tagged with the appropriate HTML tags (such as for hyperlinks and ordered lists).