Interfejs ICodeAccessSecurityAssemblyCollection
Reprezentuje kolekcję zestawów skojarzonych z zasadę zabezpieczeń (CAS) kod dostępu.
Przestrzeń nazw: Microsoft.VisualStudio.SharePoint.Packages
Zestaw: Microsoft.VisualStudio.SharePoint (w Microsoft.VisualStudio.SharePoint.dll)
Składnia
'Deklaracja
Public Interface ICodeAccessSecurityAssemblyCollection _
Inherits IList(Of ICodeAccessSecurityAssembly), ICollection(Of ICodeAccessSecurityAssembly), _
IEnumerable(Of ICodeAccessSecurityAssembly), IEnumerable
public interface ICodeAccessSecurityAssemblyCollection : IList<ICodeAccessSecurityAssembly>,
ICollection<ICodeAccessSecurityAssembly>, IEnumerable<ICodeAccessSecurityAssembly>, IEnumerable
Typ ICodeAccessSecurityAssemblyCollection uwidacznia następujące elementy członkowskie.
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Count | Pobiera numer elementy zawarte w ICollection. (Odziedziczone z ICollection<ICodeAccessSecurityAssembly>). |
![]() |
IsReadOnly | Pobiera wartość wskazującą czy ICollection jest tylko do odczytu. (Odziedziczone z ICollection<ICodeAccessSecurityAssembly>). |
![]() |
Item | Pobiera lub ustawia element pod określonym indeksem. (Odziedziczone z IList<ICodeAccessSecurityAssembly>). |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Add() | Dodaje nowy zestaw zabezpieczeń (CAS) kod dostępu. |
![]() |
Add(UTP) | Dodaje element do ICollection. (Odziedziczone z ICollection<ICodeAccessSecurityAssembly>). |
![]() |
Clear | Usuwa wszystkie elementy z ICollection. (Odziedziczone z ICollection<ICodeAccessSecurityAssembly>). |
![]() |
Contains | Określa, czy ICollection zawiera określoną wartość. (Odziedziczone z ICollection<ICodeAccessSecurityAssembly>). |
![]() |
CopyTo | Kopiuje elementy ICollection do Array, już od określonego Array indeksu. (Odziedziczone z ICollection<ICodeAccessSecurityAssembly>). |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (Odziedziczone z IEnumerable<ICodeAccessSecurityAssembly>). |
![]() |
IndexOf | Określa indeks określonego elementu w IList. (Odziedziczone z IList<ICodeAccessSecurityAssembly>). |
![]() |
Insert | Wstawia element do IList pod określonym indeksem. (Odziedziczone z IList<ICodeAccessSecurityAssembly>). |
![]() |
Remove | Usuwa pierwsze wystąpienie określonego obiektu z ICollection. (Odziedziczone z ICollection<ICodeAccessSecurityAssembly>). |
![]() |
RemoveAt | Usuwa IList element pod określonym indeksem. (Odziedziczone z IList<ICodeAccessSecurityAssembly>). |
Początek
Uwagi
Aby uzyskać więcej informacji, zobacz Code Access Security.