IUpgradeActionCollection.AddApplyElementManifestsUpgradeAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new IApplyElementManifestsUpgradeAction upgrade action to the feature upgrade actions collection.
public:
Microsoft::VisualStudio::SharePoint::Features::IApplyElementManifestsUpgradeAction ^ AddApplyElementManifestsUpgradeAction();
public Microsoft.VisualStudio.SharePoint.Features.IApplyElementManifestsUpgradeAction AddApplyElementManifestsUpgradeAction ();
abstract member AddApplyElementManifestsUpgradeAction : unit -> Microsoft.VisualStudio.SharePoint.Features.IApplyElementManifestsUpgradeAction
Public Function AddApplyElementManifestsUpgradeAction () As IApplyElementManifestsUpgradeAction
Returns
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.