Edit

Share via


X509CertificateCollection.Add(X509Certificate) Method

Definition

Adds an X509Certificate with the specified value to the current 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

Parameters

value
X509Certificate

The X509Certificate to add to the current X509CertificateCollection.

Returns

The index into the current X509CertificateCollection at which the new X509Certificate was inserted.

Applies to

See also