IUpgradeActionCollection.AddAddContentTypeFieldUpgradeAction 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 IAddContentTypeFieldUpgradeAction action to the feature upgrade actions collection.
public:
Microsoft::VisualStudio::SharePoint::Features::IAddContentTypeFieldUpgradeAction ^ AddAddContentTypeFieldUpgradeAction();
public Microsoft.VisualStudio.SharePoint.Features.IAddContentTypeFieldUpgradeAction AddAddContentTypeFieldUpgradeAction ();
abstract member AddAddContentTypeFieldUpgradeAction : unit -> Microsoft.VisualStudio.SharePoint.Features.IAddContentTypeFieldUpgradeAction
Public Function AddAddContentTypeFieldUpgradeAction () As IAddContentTypeFieldUpgradeAction
Returns
The new upgrade action added to the collection.
Remarks
When adding a new field to a content type, you should programmatically add the field to existing content types.
For more information about upgrading features, see Upgrading Features.