X509CertificateCollection.Add(X509Certificate) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 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
參數
- value
- X509Certificate
傳回
插入目前 X509CertificateCollection 的索引,新的 X509Certificate 插入其中。