X509CertificateCollection.Contains(X509Certificate) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示当前 X509CertificateCollection 是否包含指定的 X509Certificate。
public:
bool Contains(System::Security::Cryptography::X509Certificates::X509Certificate ^ value);
public bool Contains (System.Security.Cryptography.X509Certificates.X509Certificate value);
member this.Contains : System.Security.Cryptography.X509Certificates.X509Certificate -> bool
Public Function Contains (value As X509Certificate) As Boolean
参数
- value
- X509Certificate
要查找的 X509Certificate。
返回
如果此集合中包含 X509Certificate,则为 true
;否则为 false
。