ActivityTemplatesCollection 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 ActivityTemplate objects.

The ActivityTemplatesCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets a count of items in the collection.
Public property Item[Int64] Gets the ActivityTemplate object in the collection with the specified identifier.
Public property Item[String] Gets the ActivityTemplate object in the collection with the specified string value for the IsMultivalued property.

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 a new ActivityTemplate object in this collection and returns it.
Public methodStatic member CreateKey Static method that creates a key that enables searching within an ActivityTemplatesCollection object.
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 ActivityTemplate 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

ActivityTemplatesCollection class

Microsoft.Office.Server.ActivityFeed namespace