Udostępnij za pośrednictwem


Metoda ICodeAccessSecurityAssemblyCollection.Add —

Dodaje nowy zestaw zabezpieczeń (CAS) kod dostępu.

Przestrzeń nazw:  Microsoft.VisualStudio.SharePoint.Packages
Zestaw:  Microsoft.VisualStudio.SharePoint (w Microsoft.VisualStudio.SharePoint.dll)

Składnia

'Deklaracja
Function Add As ICodeAccessSecurityAssembly
ICodeAccessSecurityAssembly Add()

Wartość zwracana

Typ: Microsoft.VisualStudio.SharePoint.Packages.ICodeAccessSecurityAssembly
Obiekt, który reprezentuje nowy zestaw CAS dodawane do kolekcji.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ICodeAccessSecurityAssemblyCollection Interfejs

Przeciążenie Add

Przestrzeń nazw Microsoft.VisualStudio.SharePoint.Packages