IDiscreteUpgradeActionCollection.AddAddContentTypeFieldUpgradeAction 方法
將新的 IAddContentTypeFieldUpgradeAction 功能升級動作加入至集合。
命名空間: Microsoft.VisualStudio.SharePoint.Features
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Function AddAddContentTypeFieldUpgradeAction As IAddContentTypeFieldUpgradeAction
IAddContentTypeFieldUpgradeAction AddAddContentTypeFieldUpgradeAction()
傳回值
型別:Microsoft.VisualStudio.SharePoint.Features.IAddContentTypeFieldUpgradeAction
表示升級動作的物件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。