Edit

Share via


X509CertificateCollection.Remove(X509Certificate) Method

Definition

Removes a specific X509Certificate from the current X509CertificateCollection.

public:
 void Remove(System::Security::Cryptography::X509Certificates::X509Certificate ^ value);
public void Remove (System.Security.Cryptography.X509Certificates.X509Certificate value);
member this.Remove : System.Security.Cryptography.X509Certificates.X509Certificate -> unit
Public Sub Remove (value As X509Certificate)

Parameters

value
X509Certificate

The X509Certificate to remove from the current X509CertificateCollection.

Exceptions

The X509Certificate specified by the value parameter is not found in the current X509CertificateCollection.

Applies to