X509CertificateCollection.AddRange Method (X509Certificate[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  System (in System.dll)

public void AddRange(
	X509Certificate[] value
)

Parameters

value
Type: System.Security.Cryptography.X509Certificates.X509Certificate[]

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

Exception Condition
ArgumentNullException

The value parameter is null.

.NET Framework
Available since 1.1
Return to top
Show: