CryptographicAttributeObjectCollection 類別

定義

包含一組 CryptographicAttributeObject 物件。

public ref class CryptographicAttributeObjectCollection sealed : System::Collections::ICollection
public sealed class CryptographicAttributeObjectCollection : System.Collections.ICollection
type CryptographicAttributeObjectCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class CryptographicAttributeObjectCollection
Implements ICollection
繼承
CryptographicAttributeObjectCollection
實作

範例

CryptographicAttributeObject

建構函式

CryptographicAttributeObjectCollection()

初始化 CryptographicAttributeObjectCollection 類別的新執行個體。

CryptographicAttributeObjectCollection(CryptographicAttributeObject)

初始化 CryptographicAttributeObjectCollection 類別的新執行個體,並將指定的 CryptographicAttributeObject 加入至集合。

屬性

Count

取得集合中的項目數目。

IsSynchronized

取得值,指出集合的存取是否同步,或者具備執行緒安全。

Item[Int32]

取得集合中位於指定索引的 CryptographicAttributeObject 物件。

SyncRoot

取得用來同步存取集合的 Object 物件。

方法

Add(AsnEncodedData)

將指定的 AsnEncodedData 物件加入至集合。

Add(CryptographicAttributeObject)

將指定的 CryptographicAttributeObject 物件加入至集合。

CopyTo(CryptographicAttributeObject[], Int32)

CryptographicAttributeObjectCollection 集合複製到 CryptographicAttributeObject 物件的陣列。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetEnumerator()

取得集合的 CryptographicAttributeObjectEnumerator 物件。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(CryptographicAttributeObject)

從集合中移除指定的 CryptographicAttributeObject 物件。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

ICollection.CopyTo(Array, Int32)

從特定的索引開始,將這個 CryptographicAttributeObjectCollection 集合的項目複製到 Array 陣列。

ICollection.IsSynchronized

取得值,這個值表示對 ICollection 的存取是否同步 (安全執行緒)。

ICollection.SyncRoot

取得可用以同步存取 ICollection 的物件。

IEnumerable.GetEnumerator()

傳回逐一查看 CryptographicAttributeObjectCollection 集合的列舉值。

擴充方法

Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於