Partilhar via


SPSiteSubscriptionCollection.IEnumerable<SPSiteSubscription>.GetEnumerator Method

Returns an enumerator for the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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