Share via


IFeatureActivationDependencyCollection.AddReferencedFeatureActivationDependency Method

Adds a new IReferencedFeatureActivationDependency to the feature activation dependency collection.

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

Syntax

'Declaration
Function AddReferencedFeatureActivationDependency ( _
    itemId As Guid _
) As IReferencedFeatureActivationDependency
IReferencedFeatureActivationDependency AddReferencedFeatureActivationDependency(
    Guid itemId
)

Parameters

  • itemId
    Type: Guid

    The ID of the referenced feature.

Return Value

Type: Microsoft.VisualStudio.SharePoint.Features.IReferencedFeatureActivationDependency
The new feature activation dependency added to the collection.

.NET Framework Security

See Also

Reference

IFeatureActivationDependencyCollection Interface

Microsoft.VisualStudio.SharePoint.Features Namespace