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)
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator(Of T)
'Usage
Dim instance As SPPersistedObjectCollection
Dim returnValue As IEnumerator(Of T)
returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<T> GetEnumerator()
Type: System.Collections.Generic.IEnumerator<T>
A System.Collections.Generic.IEnumerator interface that can be used to iterate through the collection.
IEnumerable<T>.GetEnumerator()
SPPersistedObjectCollection<T> class