The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
X509ExtensionCollection::Add Method (X509Extension^)
.NET Framework (current version)
Adds an X509Extension object to an X509ExtensionCollection object.
Assembly: System (in System.dll)
Parameters
- extension
-
Type:
System.Security.Cryptography.X509Certificates::X509Extension^
An X509Extension object to add to the X509ExtensionCollection object.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value of the extension parameter is null. |
The Add method allows duplicate elements to be added to the collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: