Condividi tramite


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)
Available in Sandboxed Solutions: No

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