共用方式為


X509CertificateCollection.Contains(X509Certificate) 方法

定義

取得值,這個值表示目前的 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

適用於

另請參閱