SPWebInfoCollection.GetEnumerator method

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator(Of SPWebInfo)
'Usage
Dim instance As SPWebInfoCollection
Dim returnValue As IEnumerator(Of SPWebInfo)

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<SPWebInfo> GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<SPWebInfo>

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPWebInfoCollection class

SPWebInfoCollection members

Microsoft.SharePoint.Administration namespace