Share via


IUpgradeActionCollection.AddApplyElementManifestsUpgradeAction Method

Definition

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.

Applies to