Share via


SPPersistedObjectCollection<T>.GetEnumerator method

Gets an enumerator that can be used to iterate through the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

Return value

Type: System.Collections.Generic.IEnumerator<T>
A System.Collections.Generic.IEnumerator interface that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPPersistedObjectCollection<T> class

SPPersistedObjectCollection<T> members

Microsoft.SharePoint.Administration namespace