Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds a new IAddContentTypeFieldUpgradeAction action to the feature upgrade actions collection.
Namespace: Microsoft.VisualStudio.SharePoint.Features
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function AddAddContentTypeFieldUpgradeAction As IAddContentTypeFieldUpgradeAction
IAddContentTypeFieldUpgradeAction AddAddContentTypeFieldUpgradeAction()
Return Value
Type: Microsoft.VisualStudio.SharePoint.Features.IAddContentTypeFieldUpgradeAction
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.
.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.