共用方式為


ActivityTemplatesCollection Class

Represents a collection of ActivityTemplate objects.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ActivityFeed.ActivityTemplatesCollection

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ActivityTemplatesCollection _
    Implements IEnumerable(Of ActivityTemplate), IEnumerable
'Usage
Dim instance As ActivityTemplatesCollection
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ActivityTemplatesCollection : IEnumerable<ActivityTemplate>, 
    IEnumerable

Remarks

The ActivityTemplates property of ActivityType is an ActivityTemplatesCollection. This collection contains all of the ActivityTemplate objects for an ActivityType.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ActivityTemplatesCollection Members

Microsoft.Office.Server.ActivityFeed Namespace