共用方式為


IAssemblyCollection.AddAssembly 方法

將新組件加入集合中。

命名空間:  Microsoft.VisualStudio.SharePoint.Packages
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Function AddAssembly As IAssembly
IAssembly AddAssembly()

傳回值

型別:Microsoft.VisualStudio.SharePoint.Packages.IAssembly
加入至集合的新組件。

.NET Framework 安全性

請參閱

參考

IAssemblyCollection 介面

Microsoft.VisualStudio.SharePoint.Packages 命名空間