다음을 통해 공유


SPFeatureCollection.IEnumerable<SPFeature>.GetEnumerator Method

Returns an 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 SPFeature)
    Implements IEnumerable(Of SPFeature).GetEnumerator
'Usage
Dim instance As SPFeatureCollection
Dim returnValue As IEnumerator(Of SPFeature)

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

Return Value

Type: System.Collections.Generic.IEnumerator<SPFeature>
An IEnumerator<T> that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

SPFeatureCollection Class

SPFeatureCollection Members

Microsoft.SharePoint Namespace