X509Certificate2Collection.Insert Method (Int32, X509Certificate2)
Inserts an object into the X509Certificate2Collection object at the specified index.
Namespace: System.Security.Cryptography.X509Certificates
Assembly: System.Security (in system.security.dll)
Syntax
public void Insert (
int index,
X509Certificate2 value
)
Parameters
- index
The zero-based index at which to insert certificate. - value
The X509Certificate2 object to insert.
Remarks
If the Count property already equals the capacity of the list, the capacity is doubled by automatically reallocating the internal array before the new element is inserted. If index is equal to Count, certificate is added to the end of the collection.
Version Information
Available in the .NET Micro Framework version 4.2.
See Also
Reference
X509Certificate2Collection Class
X509Certificate2Collection Members
System.Security.Cryptography.X509Certificates Namespace