Share via


SPSiteSubscriptionCollection.IEnumerable<SPSiteSubscription>.GetEnumerator method

Returns an enumerator for the collection.

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

Syntax

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

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

Return value

Type: System.Collections.Generic.IEnumerator<SPSiteSubscription>
IEnumerator<T>
The enumerator for the collection.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPSiteSubscriptionCollection class

SPSiteSubscriptionCollection members

Microsoft.SharePoint namespace