SPWebCollection.IEnumerable<SPWeb>.GetEnumerator Method
Returns a strongly typed enumerator that iterates through the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Private Function GetEnumerator As IEnumerator(Of SPWeb)
Implements IEnumerable(Of SPWeb).GetEnumerator
'Usage
Dim instance As SPWebCollection
Dim returnValue As IEnumerator(Of SPWeb)
returnValue = CType(instance, IEnumerable(Of SPWeb)).GetEnumerator()
IEnumerator<SPWeb> IEnumerable<SPWeb>.GetEnumerator()
Return Value
Type: System.Collections.Generic.IEnumerator<SPWeb>
An enumerator that iterates through the collection.
Implements
IEnumerable<T>.GetEnumerator()