Share via


SPSite.FeatureDefinitions property

Gets the collection of feature definitions for the site collection.

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

Syntax

'Declaration
Public ReadOnly Property FeatureDefinitions As SPFeatureDefinitionCollection
    Get
'Usage
Dim instance As SPSite
Dim value As SPFeatureDefinitionCollection

value = instance.FeatureDefinitions
public SPFeatureDefinitionCollection FeatureDefinitions { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection
A collection of SPFeatureDefinition objects, each of which defines a custom feature.

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace