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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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
Remarks
This method implements the GetEnumerator() method from the non-generic IEnumerable interface.
See Also
Reference
SPFeatureQueryResultCollection Class