ICodeAccessSecurityAssemblyCollection.Add 方法

添加新的代码访问安全性 (CAS) 程序集。

命名空间:  Microsoft.VisualStudio.SharePoint.Packages
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
Function Add As ICodeAccessSecurityAssembly
ICodeAccessSecurityAssembly Add()

返回值

类型:Microsoft.VisualStudio.SharePoint.Packages.ICodeAccessSecurityAssembly
一个表示添加到集合中的新 CAS 程序集的对象。

.NET Framework 安全性

请参见

参考

ICodeAccessSecurityAssemblyCollection 接口

Add 重载

Microsoft.VisualStudio.SharePoint.Packages 命名空间