OPC Studio User's Guide and Reference
PkiCertificateCollection Constructor(X509Certificate2Collection)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > PkiCertificateCollection Class > PkiCertificateCollection Constructor : PkiCertificateCollection Constructor(X509Certificate2Collection)

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Initializes a new instance of the collection, with given collection of System.Security.Cryptography.X509Certificates.X509Certificate2.
Syntax
'Declaration
 
Public Function New( _
   ByVal x509Certificate2Collection As X509Certificate2Collection _
)
'Usage
 
Dim x509Certificate2Collection As X509Certificate2Collection
 
Dim instance As New PkiCertificateCollection(x509Certificate2Collection)
public PkiCertificateCollection( 
   X509Certificate2Collection x509Certificate2Collection
)
public:
PkiCertificateCollection( 
   X509Certificate2Collection^ x509Certificate2Collection
)

Parameters

x509Certificate2Collection

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also