ICodeAccessSecurityAssemblyCollection 介面
代表與程式碼存取安全性 (CAS) 原則關聯的組件集合。
命名空間: Microsoft.VisualStudio.SharePoint.Packages
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Public Interface ICodeAccessSecurityAssemblyCollection _
Inherits IList(Of ICodeAccessSecurityAssembly), ICollection(Of ICodeAccessSecurityAssembly), _
IEnumerable(Of ICodeAccessSecurityAssembly), IEnumerable
public interface ICodeAccessSecurityAssemblyCollection : IList<ICodeAccessSecurityAssembly>,
ICollection<ICodeAccessSecurityAssembly>, IEnumerable<ICodeAccessSecurityAssembly>, IEnumerable
ICodeAccessSecurityAssemblyCollection 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Count | 取得 ICollection<T> 中所包含的元素數。 (繼承自 ICollection<ICodeAccessSecurityAssembly>)。 |
![]() |
IsReadOnly | 取得值,指出 ICollection<T> 是否唯讀。 (繼承自 ICollection<ICodeAccessSecurityAssembly>)。 |
![]() |
Item | 取得或設定在指定索引的項目。 (繼承自 IList<ICodeAccessSecurityAssembly>)。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Add() | 加入新的程式碼存取安全性 (CAS) 組件。 |
![]() |
Add(T) | 將項目加入至 ICollection<T>。 (繼承自 ICollection<ICodeAccessSecurityAssembly>)。 |
![]() |
Clear | 將所有項目從 ICollection<T> 移除。 (繼承自 ICollection<ICodeAccessSecurityAssembly>)。 |
![]() |
Contains | 判斷 ICollection<T> 是否包含特定值。 (繼承自 ICollection<ICodeAccessSecurityAssembly>)。 |
![]() |
CopyTo | 從特定的 Array 索引開始,複製 ICollection<T> 項目至 Array。 (繼承自 ICollection<ICodeAccessSecurityAssembly>)。 |
![]() |
GetEnumerator() | 傳回可逐一查看集合的列舉程式。 (繼承自 IEnumerable<ICodeAccessSecurityAssembly>)。 |
![]() |
GetEnumerator() | 傳回會逐一查看集合的列舉程式。 (繼承自 IEnumerable)。 |
![]() |
IndexOf | 判斷 IList<T> 中特定項目的索引。 (繼承自 IList<ICodeAccessSecurityAssembly>)。 |
![]() |
Insert | 將項目插入位於指定索引的 IList<T>。 (繼承自 IList<ICodeAccessSecurityAssembly>)。 |
![]() |
Remove | 從 ICollection<T> 移除特定物件的第一個相符項目。 (繼承自 ICollection<ICodeAccessSecurityAssembly>)。 |
![]() |
RemoveAt | 移除指定之索引處的 IList<T> 項目。 (繼承自 IList<ICodeAccessSecurityAssembly>)。 |
回頁首
備註
如需詳細資訊,請參閱程式碼存取安全性 (英文)。