ICodeAccessSecurityAssemblyCollection.Add Method
Adds a new code access security (CAS) assembly.
Namespace: Microsoft.VisualStudio.SharePoint.Packages
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function Add As ICodeAccessSecurityAssembly
ICodeAccessSecurityAssembly Add()
Return Value
Type: Microsoft.VisualStudio.SharePoint.Packages.ICodeAccessSecurityAssembly
An object that represents the new CAS assembly added to the collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.