Share via


ActivityPreferencesCollection members

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 a collection of ActivityPreference objects.

The ActivityPreferencesCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets a count of items in the collection.
Public property Item Gets an ActivityPreference object for the ActivityType with the specified identifier.

Top

Methods

  Name Description
Public method Clear Removes all elements from the collection.
Public method Commit Commits data in the collection to the database.
Public method Create Creates a new ActivityPreference object for the ActivityType object with the specified identifier and returns it.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetActivityPreferencesPerType Gets the current user’s preferences for each ActivityType object managed by the ActivityManager object.
Public method GetEnumerator Gets an enumerator for iterating through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh Clears and repopulates the collection from the database.
Public method Remove Removes the specified ActivityPreference object from the collection.
Public method SetActivityPreferencesPerType Sets the current user's preferences for each ActivityType object managed by the ActivityManager.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator

Top

See also

Reference

ActivityPreferencesCollection class

Microsoft.Office.Server.ActivityFeed namespace