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
建構函式
CoseHeaderMap() |
初始化 CoseHeaderMap 類別的新執行個體。 |
屬性
Count |
取得 ICollection<T> 中所包含的項目數。 |
IsReadOnly |
取得值,指出標頭對應是否為唯讀。 |
Item[CoseHeaderLabel] |
取得或設定具有指定索引鍵的項目。 |
Keys |
取得 ICollection<T>,包含 IDictionary<TKey,TValue> 的索引鍵。 |
Values |
取得 ICollection<T>,包含 IDictionary<TKey,TValue> 中的值。 |
方法
明確介面實作
IEnumerable.GetEnumerator() |
傳回逐一查看集合的列舉值。 |
IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Keys |
取得可列舉集合,其中包含唯讀字典中的索引鍵。 |
IReadOnlyDictionary<CoseHeaderLabel,CoseHeaderValue>.Values |
取得可列舉集合,其中包含唯讀字典中的值。 |
擴充方法
AsReadOnly<TKey,TValue>(IDictionary<TKey,TValue>) |
傳回目前字典的唯讀 ReadOnlyDictionary<TKey,TValue> 包裝函式。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應