Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an enumerator to iterate through the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overrides Function GetEnumerator As IEnumerator
'Usage
Dim instance As SPListItemCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
public override IEnumerator GetEnumerator()
Return Value
Type: System.Collections.IEnumerator
An IEnumerator object that can be used to iterate through the collection.
Implements
IEnumerable.GetEnumerator()
IEnumerable.GetEnumerator()