SPBaseCollection.GetEnumerator method
Gets an enumerator to iterate through the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Function GetEnumerator As IEnumerator
'Usage
Dim instance As SPBaseCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
public virtual IEnumerator GetEnumerator()
Return value
Type: System.Collections.IEnumerator
An IEnumerator to iterate through the collection.