ApplicationTrustCollection 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示 ApplicationTrust 物件的集合。 此類別無法獲得繼承。
public ref class ApplicationTrustCollection sealed : System::Collections::ICollection
public sealed class ApplicationTrustCollection : System.Collections.ICollection
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ApplicationTrustCollection : System.Collections.ICollection
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public sealed class ApplicationTrustCollection : System.Collections.ICollection
type ApplicationTrustCollection = class
interface ICollection
interface IEnumerable
[<System.Runtime.InteropServices.ComVisible(true)>]
type ApplicationTrustCollection = class
interface ICollection
interface IEnumerable
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type ApplicationTrustCollection = class
interface ICollection
interface IEnumerable
Public NotInheritable Class ApplicationTrustCollection
Implements ICollection
- 繼承
-
ApplicationTrustCollection
- 屬性
- 實作
ApplicationTrust 物件會封裝應用程式的安全性決策。
Count |
取得集合中包含的項目數目。 |
Is |
取得值,表示是否同步化存取集合 (執行緒安全)。 |
Item[Int32] |
取得 ApplicationTrust 物件,該物件位在集合中的指定索引處。 |
Item[String] |
取得指定應用程式的 ApplicationTrust 物件。 |
Sync |
取得物件,這個物件可以用來對集合進行同步存取。 |
Add(Application |
新增項目至集合。 |
Add |
將指定的 ApplicationTrust 陣列元素複製到集合的末端。 |
Add |
將指定 ApplicationTrustCollection 的元素複製到集合結尾。 |
Clear() |
從集合中移除所有應用程式信任。 |
Copy |
從目標陣列的指定索引處開始,將整個集合複製到相容的一維陣列。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Find(Application |
取得集合中的應用程式信任,該集合符合指定的應用程式識別 (Identity)。 |
Get |
傳回物件,可用來逐一查看集合。 |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
Remove(Application |
從集合中移除符合指定準則的所有應用程式信任物件。 |
Remove(Application |
從集合中移除指定的應用程式信任。 |
Remove |
從集合移除指定陣列中的應用程式信任物件。 |
Remove |
從集合移除指定集合中的應用程式信任物件。 |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
ICollection. |
從指定的 ICollection 索引處開始,將 Array 的元素複製到指定的 Array。 |
IEnumerable. |
傳回逐一查看集合的列舉值。 |
Cast<TResult>(IEnumerable) |
將 IEnumerable 的項目轉換成指定的型別。 |
Of |
根據指定的型別來篩選 IEnumerable 的項目。 |
As |
啟用查詢的平行化作業。 |
As |
將 IEnumerable 轉換成 IQueryable。 |
產品 | 版本 |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |