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)
Available in Sandboxed Solutions: No
Syntax
'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()
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