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[])

Source:
X509CertificateCollection.cs
Source:
X509CertificateCollection.cs
Source:
X509CertificateCollection.cs

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

public void AddRange (System.Security.Cryptography.X509Certificates.X509Certificate[] value);

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

Applies to

.NET 9 және басқа нұсқалар
Өнім Нұсқалар
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.3, 1.4, 1.6, 2.0, 2.1

AddRange(X509CertificateCollection)

Source:
X509CertificateCollection.cs
Source:
X509CertificateCollection.cs
Source:
X509CertificateCollection.cs

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

public void AddRange (System.Security.Cryptography.X509Certificates.X509CertificateCollection value);

Parameters

value
X509CertificateCollection

The X509CertificateCollection containing the objects to add to the collection.

Exceptions

The value parameter is null.

See also

Applies to

.NET 9 және басқа нұсқалар
Өнім Нұсқалар
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.3, 1.4, 1.6, 2.0, 2.1