SPWebPartCollection.GetEnumerator method
NOTE: This API is now obsolete.
Obsolete. Returns an enumerator to iterate through the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As SPWebPartCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
public IEnumerator GetEnumerator()
Return value
Type: System.Collections.IEnumerator
A System.Collections.IEnumerator interface.