次の方法で共有


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

パラメーター

value
X509Certificate

現在の X509CertificateCollection に追加する X509Certificate

戻り値

新しい X509Certificate が挿入された、現在の X509CertificateCollection 内のインデックス。

適用対象

こちらもご覧ください