SPFeatureDefinition.ActivationDependencies property

Gets the collection of Features on which activation of this Feature depends.

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

public SPFeatureDependencyCollection ActivationDependencies { get; }

Property value

Type: Microsoft.SharePoint.SPFeatureDependencyCollection
An SPFeatureDependencyCollection object that represents the collection of Features on which this Feature depends.

Activation dependencies can be used to accomplish two things. The implementer can turn on all associated features when any of the associated features is turned on, or it can guarantee resources by containing them within SPSite objects when the implementation is contained within an SPWeb object.