CoseHeaderMap 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示 COSE 訊息的標頭參數集合。
public ref class CoseHeaderMap sealed : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>>, System::Collections::Generic::IDictionary<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>>, System::Collections::Generic::IReadOnlyDictionary<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue>
public sealed class CoseHeaderMap : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>>, System.Collections.Generic.IDictionary<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>>, System.Collections.Generic.IReadOnlyDictionary<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue>
type CoseHeaderMap = class
interface IDictionary<CoseHeaderLabel, CoseHeaderValue>
interface ICollection<KeyValuePair<CoseHeaderLabel, CoseHeaderValue>>
interface seq<KeyValuePair<CoseHeaderLabel, CoseHeaderValue>>
interface IEnumerable
interface IReadOnlyDictionary<CoseHeaderLabel, CoseHeaderValue>
interface IReadOnlyCollection<KeyValuePair<CoseHeaderLabel, CoseHeaderValue>>
Public NotInheritable Class CoseHeaderMap
Implements ICollection(Of KeyValuePair(Of CoseHeaderLabel, CoseHeaderValue)), IDictionary(Of CoseHeaderLabel, CoseHeaderValue), IEnumerable(Of KeyValuePair(Of CoseHeaderLabel, CoseHeaderValue)), IReadOnlyCollection(Of KeyValuePair(Of CoseHeaderLabel, CoseHeaderValue)), IReadOnlyDictionary(Of CoseHeaderLabel, CoseHeaderValue)
- 繼承
-
CoseHeaderMap
- 實作
-
ICollection<KeyValuePair<CoseHeaderLabel,CoseHeaderValue>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<CoseHeaderLabel,CoseHeaderValue> IEnumerable<KeyValuePair<CoseHeaderLabel,CoseHeaderValue>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IReadOnlyCollection<KeyValuePair<CoseHeaderLabel,CoseHeaderValue>> IReadOnlyCollection<KeyValuePair<TKey,TValue>> IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue> IEnumerable
建構函式
| 名稱 | Description |
|---|---|
| CoseHeaderMap() |
初始化 CoseHeaderMap 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Count |
得到包含於 的 ICollection<T>元素數量。 |
| IsReadOnly |
會獲得一個值,表示標頭映射是否為唯讀。 |
| Item[CoseHeaderLabel] |
取得或設定具有指定索引鍵的專案。 |
| Keys |
得到包含 ICollection<T> 的 IDictionary<TKey,TValue>鍵。 |
| Values |
得到 和 ICollection<T> 包含 的值。IDictionary<TKey,TValue> |
方法
明確介面實作
| 名稱 | Description |
|---|---|
| IEnumerable.GetEnumerator() |
傳回逐一查看集合的列舉值。 |
| IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Keys |
取得可列舉集合,其中包含唯讀字典中的索引鍵。 |
| IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Values |
取得可列舉集合,其中包含唯讀字典中的值。 |