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

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