다음을 통해 공유


ActivityPreferencesCollection Members

Include Protected Members
Include Inherited Members

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