Partager via


IFeatureActivationDependencyCollection.AddReferencedFeatureActivationDependency Method

Definition

Adds a new IReferencedFeatureActivationDependency to the feature activation dependency collection.

public:
 Microsoft::VisualStudio::SharePoint::Features::IReferencedFeatureActivationDependency ^ AddReferencedFeatureActivationDependency(Guid itemId);
public Microsoft.VisualStudio.SharePoint.Features.IReferencedFeatureActivationDependency AddReferencedFeatureActivationDependency (Guid itemId);
abstract member AddReferencedFeatureActivationDependency : Guid -> Microsoft.VisualStudio.SharePoint.Features.IReferencedFeatureActivationDependency
Public Function AddReferencedFeatureActivationDependency (itemId As Guid) As IReferencedFeatureActivationDependency

Parameters

itemId
Guid

The ID of the referenced feature.

Returns

The new feature activation dependency added to the collection.

Applies to