SPContext.WebFeatures property

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

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.SPFeatureCollection
An SPFeatureCollection object representing the features.

See also

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace