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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public ReadOnly Property FeatureDefinitions As SPFeatureDefinitionCollection
    Get
'Usage
Dim instance As SPSite
Dim value As SPFeatureDefinitionCollection

value = instance.FeatureDefinitions
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
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