IAssemblyCollection.AddCustomAssembly 方法
向集合添加新的自定义程序集。
命名空间: Microsoft.VisualStudio.SharePoint.Packages
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Function AddCustomAssembly As ICustomAssembly
ICustomAssembly AddCustomAssembly()
返回值
类型:Microsoft.VisualStudio.SharePoint.Packages.ICustomAssembly
添加到集合的新程序集。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。