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