Condividi tramite


ActivityEventsCollection.GetEnumerator Method

Gets an enumerator for iterating through the elements in this 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 ActivityEvent)
'Usage
Dim instance As ActivityEventsCollection
Dim returnValue As IEnumerator(Of ActivityEvent)

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

Return Value

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

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

ActivityEventsCollection Class

ActivityEventsCollection Members

Microsoft.Office.Server.ActivityFeed Namespace