Partilhar via


SPFeatureDependency Class

Represents a Feature that is depended upon by another Feature.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPFeatureDependency

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

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public NotInheritable Class SPFeatureDependency
'Usage
Dim instance As SPFeatureDependency
[SubsetCallableTypeAttribute]
public sealed class SPFeatureDependency

Remarks

Use the ActivationDependencies property of the SPFeatureDefinition class to return the collection of Features upon which the current Feature depends.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPFeatureDependency Members

Microsoft.SharePoint Namespace