X509CertificateCollection.AddRange Method

Definition

Copies the elements of an array of type X509Certificate into the current X509CertificateCollection.

Overloads

AddRange(X509Certificate[])

Copies the elements of an array of type X509Certificate to the end of the current X509CertificateCollection.

AddRange(X509CertificateCollection)

Copies the elements of the specified X509CertificateCollection to the end of the current X509CertificateCollection.

AddRange(X509Certificate[])

Copies the elements of an array of type X509Certificate to the end of the current X509CertificateCollection.

public:
 void AddRange(cli::array <System::Security::Cryptography::X509Certificates::X509Certificate ^> ^ value);
public void AddRange (System.Security.Cryptography.X509Certificates.X509Certificate[] value);
member this.AddRange : System.Security.Cryptography.X509Certificates.X509Certificate[] -> unit
Public Sub AddRange (value As X509Certificate())

Parameters

value
X509Certificate[]

The array of type X509Certificate containing the objects to add to the current X509CertificateCollection.

Exceptions

The value parameter is null.

See also

AddRange(X509CertificateCollection)

Copies the elements of the specified X509CertificateCollection to the end of the current X509CertificateCollection.

public:
 void AddRange(System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ value);
public void AddRange (System.Security.Cryptography.X509Certificates.X509CertificateCollection value);
member this.AddRange : System.Security.Cryptography.X509Certificates.X509CertificateCollection -> unit
Public Sub AddRange (value As X509CertificateCollection)

Parameters

value
X509CertificateCollection

The X509CertificateCollection containing the objects to add to the collection.

Exceptions

The value parameter is null.

See also

Applies to