X509CertificateCollection.Remove Method (X509Certificate)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes a specific X509Certificate from the current X509CertificateCollection.

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  System (in System.dll)

public void Remove(
	X509Certificate value

Exception Condition

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

.NET Framework
Available since 1.1
Return to top