Aracılığıyla paylaş


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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