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)

'Declaration
Public Function GetFeaturesIfLoaded As SPFeatureCollection
'Usage
Dim instance As SPSite
Dim returnValue As SPFeatureCollection

returnValue = instance.GetFeaturesIfLoaded()

Return value

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