IUpgradeActionCollection.AddApplyElementManifestsUpgradeAction Method
Adds a new IApplyElementManifestsUpgradeAction upgrade action to the feature upgrade actions collection.
Namespace: Microsoft.VisualStudio.SharePoint.Features
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function AddApplyElementManifestsUpgradeAction As IApplyElementManifestsUpgradeAction
IApplyElementManifestsUpgradeAction AddApplyElementManifestsUpgradeAction()
Return Value
Type: Microsoft.VisualStudio.SharePoint.Features.IApplyElementManifestsUpgradeAction
The new upgrade action added to the collection.
Remarks
New field definitions are provisioned for new activations of the containing feature. Existing activations of the feature do not automatically get new field definitions, so features must be force-reactivated by using code to receive any changes.
For more information about upgrading features, see Upgrading Features.
.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.