Share via


SPFeatureQueryResultCollection.GetEnumerator method

Returns an enumerator that can iterate through the SPFeature objects in the SPFeatureQueryResultCollection collection.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of SPFeature)
'Usage
Dim instance As SPFeatureQueryResultCollection
Dim returnValue As IEnumerator(Of SPFeature)

returnValue = instance.GetEnumerator()
public IEnumerator<SPFeature> GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<SPFeature>
An enumerator that can iterate through the SPFeature objects in the collection.

Implements

IEnumerable<T>.GetEnumerator()

Remarks

This method implements the GetEnumerator() method from the generic IEnumerable<T> interface.

See also

Reference

SPFeatureQueryResultCollection class

SPFeatureQueryResultCollection members

Microsoft.SharePoint namespace