IUpgradeActionCollection.AddApplyElementManifestsUpgradeAction 方法

将新的 IApplyElementManifestsUpgradeAction 升级操作添加到功能升级操作集合。

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

语法

声明
Function AddApplyElementManifestsUpgradeAction As IApplyElementManifestsUpgradeAction
IApplyElementManifestsUpgradeAction AddApplyElementManifestsUpgradeAction()

返回值

类型:Microsoft.VisualStudio.SharePoint.Features.IApplyElementManifestsUpgradeAction
添加到集合中的新升级操作。

备注

为包含功能的新激活提供了新的字段定义。功能的现有激活未自动获取新字段定义,因此必须通过使用代码接收任何更改来强制重新激活功能。

有关升级功能的更多信息,请参见 Upgrading Features(升级功能)。

.NET Framework 安全性

请参见

参考

IUpgradeActionCollection 接口

Microsoft.VisualStudio.SharePoint.Features 命名空间