Share via


CoseHeaderMap.ContainsKey(CoseHeaderLabel) 方法

定義

判斷 IDictionary<TKey,TValue> 是否包含具有指定之索引鍵的項目。

public:
 virtual bool ContainsKey(System::Security::Cryptography::Cose::CoseHeaderLabel key);
public bool ContainsKey (System.Security.Cryptography.Cose.CoseHeaderLabel key);
abstract member ContainsKey : System.Security.Cryptography.Cose.CoseHeaderLabel -> bool
override this.ContainsKey : System.Security.Cryptography.Cose.CoseHeaderLabel -> bool
Public Function ContainsKey (key As CoseHeaderLabel) As Boolean

參數

key
CoseHeaderLabel

要在 IDictionary<TKey,TValue> 中尋找的索引鍵。

傳回

如果 true 包含具有該索引鍵的項目,則為 IDictionary<TKey,TValue>,否則為 false

實作

適用於