Adds certificates from the supplied enumeration to this collection.

Namespace: NHINDirect.Certificates
Assembly: nhinCommon (in nhinCommon.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static void Add(
	this X509Certificate2Collection certs,
	IEnumerable<X509Certificate2> newCerts
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub Add ( _
	certs As X509Certificate2Collection, _
	newCerts As IEnumerable(Of X509Certificate2) _
)
Visual C++
[ExtensionAttribute]
public:
static void Add(
	X509Certificate2Collection^ certs, 
	IEnumerable<X509Certificate2^>^ newCerts
)

Parameters

certs
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2Collection
The collection to which to add certificates.
newCerts
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'X509Certificate2>)>)>
The enumeration from which to add certificates.

See Also