Share via


X509Certificate2Collection Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the X509Certificate2Collection class without any X509Certificate2 information.

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

Syntax

'Declaration
Public Sub New
public X509Certificate2Collection()
public:
X509Certificate2Collection()
new : unit -> X509Certificate2Collection
public function X509Certificate2Collection()

Remarks

This constructor creates an empty X509Certificate2Collection object, which is unlike the other constructors that use certificate or collection information to create the object.

.NET Framework Security

See Also

Reference

X509Certificate2Collection Class

X509Certificate2Collection Overload

System.Security.Cryptography.X509Certificates Namespace