X509CertificateCollection.Remove(X509Certificate) 方法

定义

从当前 X509CertificateCollection 中移除特定 X509Certificate

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)

参数

value
X509Certificate

要从当前 X509CertificateCollection 中移除的 X509Certificate

例外

未在当前 X509CertificateCollection 中找到由 value 参数指定的 X509Certificate

适用于