Compartilhar via


ActivityTemplatesCollection.GetEnumerator Method

Gets an enumerator for iterating through the collection.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator(Of ActivityTemplate)
'Usage
Dim instance As ActivityTemplatesCollection
Dim returnValue As IEnumerator(Of ActivityTemplate)

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<ActivityTemplate> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<ActivityTemplate>

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

ActivityTemplatesCollection Class

ActivityTemplatesCollection Members

Microsoft.Office.Server.ActivityFeed Namespace