Share via


ActivityTypesCollection 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 ActivityType objects.

The ActivityTypesCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets a count of items in the collection.
Public property Item[Int64] Returns the ActivityType object from the collection with the specified identifier.
Public property Item[String] Returns the ActivityType object from the collection with the specified name.

Top

Methods

  Name Description
Public method Clear Removes all elements from the collection.
Public method Commit Saves all changes to the collection to the database.
Public method Create Creates an ActivityType object with the specified name, adds it to the collection, and returns it.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from 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 ActivityType object from the collection.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator

Top

See also

Reference

ActivityTypesCollection class

Microsoft.Office.Server.ActivityFeed namespace