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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈