Share via


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)

Syntax

'Declaration
Public Enumeration ContentType
'Usage
Dim instance As ContentType
public enum ContentType

Members

Member name Description
PlainText Specifies that the activity feed item should be returned as plain text, without any tagging or encoding.
Html Specifies 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).

See also

Reference

Microsoft.Office.Server.ActivityFeed namespace