CryptographicAttributeObjectCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含一組 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
- 實作
範例
建構函式
| 名稱 | Description |
|---|---|
| CryptographicAttributeObjectCollection() |
初始化 CryptographicAttributeObjectCollection 類別的新執行個體。 |
| CryptographicAttributeObjectCollection(CryptographicAttributeObject) |
初始化類別的新實例 CryptographicAttributeObjectCollection ,將指定的 CryptographicAttributeObject a 加入集合。 |
屬性
| 名稱 | Description |
|---|---|
| Count |
取得集合中的項目數目。 |
| IsSynchronized |
會得到一個值,指示該集合的存取是否同步或執行緒安全。 |
| Item[Int32] |
取得 CryptographicAttributeObject 集合中指定索引的物件。 |
| SyncRoot |
取得 Object 一個用來同步存取集合的物件。 |
方法
| 名稱 | Description |
|---|---|
| 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) |
明確介面實作
| 名稱 | Description |
|---|---|
| ICollection.CopyTo(Array, Int32) |
將此 CryptographicAttributeObjectCollection 集合的元素複製到 Array 陣列,從特定索引開始。 |
| ICollection.IsSynchronized |
取得值,指出是否同步存取 ICollection (線程安全)。 |
| ICollection.SyncRoot |
取得一個物件,可用來同步存取 ICollection。 |
| IEnumerable.GetEnumerator() |
傳回逐一查看 CryptographicAttributeObjectCollection 集合的列舉值。 |
擴充方法
| 名稱 | Description |
|---|---|
| AsParallel(IEnumerable) |
啟用查詢的平行處理。 |
| AsQueryable(IEnumerable) |
將 IEnumerable 轉換成 IQueryable。 |
| Cast<TResult>(IEnumerable) |
將 IEnumerable 的項目轉換成指定的型別。 |
| OfType<TResult>(IEnumerable) |
根據指定的型別篩選 IEnumerable 的專案。 |