CoseHeaderMap.Contains 方法

定义

确定 ICollection<T> 是否包含特定值。

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<System::Security::Cryptography::Cose::CoseHeaderLabel, System::Security::Cryptography::Cose::CoseHeaderValue> item);
public bool Contains (System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel,System.Security.Cryptography.Cose.CoseHeaderValue> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel, System.Security.Cryptography.Cose.CoseHeaderValue> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<System.Security.Cryptography.Cose.CoseHeaderLabel, System.Security.Cryptography.Cose.CoseHeaderValue> -> bool
Public Function Contains (item As KeyValuePair(Of CoseHeaderLabel, CoseHeaderValue)) As Boolean

参数

item
KeyValuePair<CoseHeaderLabel,CoseHeaderValue>

要在 ICollection<T> 中定位的对象。

返回

如果在 true 中找到 item,则为 ICollection<T>;否则为 false

实现

适用于