SPFeatureQueryResultCollection class
SharePoint 2013
Represents an enumerable collection of SPFeature objects.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Instances of this type are returned by the QueryFeatures method of the SPSite, SPContentDatabase, SPWebApplication, SPWebService, and SPSite classes.
To ensure that server memory is used efficiently, all objects used by an SPFeature object are subject to disposal when the IEnumerator.MoveNext() method is called. For example, if the SPFeature is scoped Site or Web, then the Parent property contains an SPSite or SPWeb object that may get disposed of when the MoveNext method is called. You should not use the supporting objects for a particular feature after the MoveNext method is called because they might be invalid.
Show: