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: GuidThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.