Share via


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

See Also

Reference

ICodeAccessSecurityAssemblyCollection Interface

Add Overload

Microsoft.VisualStudio.SharePoint.Packages Namespace