SPSite.GetFeaturesIfLoaded method

SharePoint 2013

If the features have been loaded for the site, this will return them. If they have not yet been loaded, this call will return null (and will not have any round trip incurred)

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

public SPFeatureCollection GetFeaturesIfLoaded()

Return value

Type: Microsoft.SharePoint.SPFeatureCollection
A collection of T:Microsoft.SharePoint.SPFeatureCollection objects.