Redigera

Dela via


X509CertificateCollection.Contains(X509Certificate) Method

Definition

Gets a value indicating whether the current X509CertificateCollection contains the specified 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

Parameters

value
X509Certificate

The X509Certificate to locate.

Returns

true if the X509Certificate is contained in this collection; otherwise, false.

Applies to

See also