SPContext.SiteFeatures property

Gets the activated site collection features of the Microsoft SharePoint Foundation context.

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

Syntax

'Declaration
Public ReadOnly Property SiteFeatures As SPFeatureCollection
    Get
'Usage
Dim instance As SPContext
Dim value As SPFeatureCollection

value = instance.SiteFeatures
public SPFeatureCollection SiteFeatures { get; }

Property value

Type: Microsoft.SharePoint.SPFeatureCollection
An SPFeatureCollection object that represents the features.

See also

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace