共用方式為


X509CertificateCollection.Add(X509Certificate) 方法

定義

X509Certificate 以指定的值加入目前的 X509CertificateCollection

public:
 int Add(System::Security::Cryptography::X509Certificates::X509Certificate ^ value);
public int Add (System.Security.Cryptography.X509Certificates.X509Certificate value);
member this.Add : System.Security.Cryptography.X509Certificates.X509Certificate -> int
Public Function Add (value As X509Certificate) As Integer

參數

傳回

插入目前 X509CertificateCollection 的索引,新的 X509Certificate 插入其中。

適用於

另請參閱