नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies a list of features on which the activation of the current feature depends.
Definition
<ActivationDependencies></ActivationDependencies>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Parent elements
Occurrences
- Minimum: 0
- Maximum: 1
Remarks
If the Feature on which the current Feature depends is hidden and inactive, it is activated automatically. Such a hidden Feature is deactivated when the last Feature depending on it is deactivated. If the Feature is visible, it is not activated automatically. A hidden Feature cannot have any activation dependencies.
Example
If included within a Feature element, the following code example prevents the current Feature from being activated unless the Feature with the specified ID is activated.
<ActivationDependencies>
<ActivationDependency FeatureId="11111111-1111-1111-1111-111111111111" />
</ActivationDependencies>
For another example of how this element is used, see Feature.xml Files.