SPSite.Features Property (Microsoft.SharePoint)

Switch View :
ScriptFree
SPSite.Features Property

Gets the collection of SPFeature objects that are associated with the site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax

Visual Basic (Declaration)
<ClientCallableAttribute> _
Public ReadOnly Property Features As SPFeatureCollection
	Get
Visual Basic (Usage)
Dim instance As SPSite
Dim value As SPFeatureCollection

value = instance.Features

C#
[ClientCallableAttribute]
public SPFeatureCollection Features { get; }

Property Value

Type: Microsoft.SharePoint.SPFeatureCollection
An SPFeatureCollection collection of SPFeature objects.
See Also

Reference