SPSite.GetFeaturesIfLoaded method

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 Function GetFeaturesIfLoaded As SPFeatureCollection
Dim instance As SPSite
Dim returnValue As SPFeatureCollection

returnValue = instance.GetFeaturesIfLoaded()
public SPFeatureCollection GetFeaturesIfLoaded()

Return value

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

See also


SPSite class

SPSite members

Microsoft.SharePoint namespace