Поделиться через


SPFeatureDependencyCollection Class

Represents a collection of Features that are depended upon by another Feature.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      Microsoft.SharePoint.SPFeatureDependencyCollection

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

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPFeatureDependencyCollection _
    Inherits SPBaseCollection

Dim instance As SPFeatureDependencyCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPFeatureDependencyCollection : SPBaseCollection

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

SPFeatureDependencyCollection Members

Microsoft.SharePoint Namespace