Share via


SPFeatureQueryResultCollection.IEnumerable.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
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As SPFeatureQueryResultCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumeratorIEnumerable.GetEnumerator()

Return value

Type: System.Collections.IEnumerator
An IEnumerator object that can iterate through the SPFeature objects in the collection.

Implements

IEnumerable.GetEnumerator()

Remarks

This method implements the GetEnumerator() method from the non-generic IEnumerable interface.

See also

Reference

SPFeatureQueryResultCollection class

SPFeatureQueryResultCollection members

Microsoft.SharePoint namespace