Share via


SPSiteSubscriptionSiteCollection.IEnumerable<SPSite>.GetEnumerator method

Returns an enumerator that iterates through the collection.

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

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of SPSite)
    Implements IEnumerable(Of SPSite).GetEnumerator
'Usage
Dim instance As SPSiteSubscriptionSiteCollection
Dim returnValue As IEnumerator(Of SPSite)

returnValue = CType(instance, IEnumerable(Of SPSite)).GetEnumerator()
IEnumerator<SPSite> IEnumerable<SPSite>.GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<SPSite>
IEnumerator<T>
A strongly typed enumerator that iterates through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPSiteSubscriptionSiteCollection class

SPSiteSubscriptionSiteCollection members

Microsoft.SharePoint namespace