Share via


SPContext.WebFeatures Property

Gets the activated site features of the Windows SharePoint Services context.

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

Syntax

Public ReadOnly Property WebFeatures As SPFeatureCollection
    Get

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