IFeatureActivationDependencyCollection.AddCustomFeatureActivationDependency 方法

将新的 ICustomFeatureActivationDependency 添加到功能激活依赖项集合。

命名空间:  Microsoft.VisualStudio.SharePoint.Features
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
Function AddCustomFeatureActivationDependency As ICustomFeatureActivationDependency
ICustomFeatureActivationDependency AddCustomFeatureActivationDependency()

返回值

类型:Microsoft.VisualStudio.SharePoint.Features.ICustomFeatureActivationDependency
添加到集合的新功能激活依赖项。

.NET Framework 安全性

请参见

参考

IFeatureActivationDependencyCollection 接口

Microsoft.VisualStudio.SharePoint.Features 命名空间