Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a collection of assemblies associated with a code access security (CAS) policy.
Namespace: Microsoft.VisualStudio.SharePoint.Packages
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Interface ICodeAccessSecurityAssemblyCollection _
Inherits IList(Of ICodeAccessSecurityAssembly), ICollection(Of ICodeAccessSecurityAssembly), _
IEnumerable(Of ICodeAccessSecurityAssembly), IEnumerable
public interface ICodeAccessSecurityAssemblyCollection : IList<ICodeAccessSecurityAssembly>,
ICollection<ICodeAccessSecurityAssembly>, IEnumerable<ICodeAccessSecurityAssembly>, IEnumerable
The ICodeAccessSecurityAssemblyCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection<ICodeAccessSecurityAssembly>.) |
![]() |
IsReadOnly | Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ICodeAccessSecurityAssembly>.) |
![]() |
Item | Gets or sets the element at the specified index. (Inherited from IList<ICodeAccessSecurityAssembly>.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Add() | Adds a new code access security (CAS) assembly. |
![]() |
Add(UTP) | Adds an item to the ICollection. (Inherited from ICollection<ICodeAccessSecurityAssembly>.) |
![]() |
Clear | Removes all items from the ICollection. (Inherited from ICollection<ICodeAccessSecurityAssembly>.) |
![]() |
Contains | Determines whether the ICollection contains a specific value. (Inherited from ICollection<ICodeAccessSecurityAssembly>.) |
![]() |
CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ICodeAccessSecurityAssembly>.) |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ICodeAccessSecurityAssembly>.) |
![]() |
IndexOf | Determines the index of a specific item in the IList. (Inherited from IList<ICodeAccessSecurityAssembly>.) |
![]() |
Insert | Inserts an item to the IList at the specified index. (Inherited from IList<ICodeAccessSecurityAssembly>.) |
![]() |
Remove | Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ICodeAccessSecurityAssembly>.) |
![]() |
RemoveAt | Removes the IList item at the specified index. (Inherited from IList<ICodeAccessSecurityAssembly>.) |
Top
Remarks
For more information, see Code Access Security.
.gif)
.gif)