Share via


SPContext.WebFeatures Property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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